Create a third_party subdirectory and a third_party/lisp. This directory layout resembles and is inspired by the layout of Google's mono-repo, Google3. @tazjin borrowed this idea from Google and I'm borrowing the idea from him.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			373 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ depot ? import <depot> {}, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  src = builtins.fetchGit {
 | 
						|
    url = "https://github.com/tokenrove/anaphora.git";
 | 
						|
    rev = "aeace4c68cf55098a67112750b28f8f2dc6d0e30";
 | 
						|
  };
 | 
						|
in depot.nix.buildLisp.library {
 | 
						|
  name = "anaphora";
 | 
						|
  deps = [];
 | 
						|
  srcs = [
 | 
						|
    "${src}/packages.lisp"
 | 
						|
    "${src}/early.lisp"
 | 
						|
    "${src}/symbolic.lisp"
 | 
						|
    "${src}/anaphora.lisp"
 | 
						|
  ];
 | 
						|
}
 |