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.
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			465 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  depot ? import <depot> {},
 | 
						|
  universe ? import <universe> {},
 | 
						|
  ...
 | 
						|
}:
 | 
						|
 | 
						|
let
 | 
						|
  src = builtins.fetchGit {
 | 
						|
    url = "https://github.com/tpapp/let-plus.git";
 | 
						|
    rev = "7cf18b29ed0fe9c667a9a6a101b08ab9661a59e9";
 | 
						|
  };
 | 
						|
in depot.nix.buildLisp.library {
 | 
						|
  name = "let-plus";
 | 
						|
  deps = [
 | 
						|
    depot.third_party.lisp.alexandria
 | 
						|
    universe.third_party.lisp.anaphora
 | 
						|
  ];
 | 
						|
  srcs = [
 | 
						|
    "${src}/package.lisp"
 | 
						|
    "${src}/let-plus.lisp"
 | 
						|
    "${src}/extensions.lisp"
 | 
						|
  ];
 | 
						|
}
 |