Change-Id: I672ad0898b2ef6a11f8bc9233da0ded4a296fe0e Reviewed-on: https://cl.tvl.fyi/c/depot/+/5686 Autosubmit: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI Reviewed-by: grfn <grfn@gws.fyi>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			483 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			483 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
args@{ depot ? import ../../../.. { }
 | 
						|
, pkgs ? depot.third_party.nixpkgs
 | 
						|
, ...
 | 
						|
}:
 | 
						|
 | 
						|
depot.third_party.naersk.buildPackage {
 | 
						|
  name = "xanthous-server";
 | 
						|
  version = "0.0.1";
 | 
						|
  src = depot.third_party.gitignoreSource ./.;
 | 
						|
 | 
						|
  # Workaround for a potential Nix bug related to restricted eval.
 | 
						|
  # See https://github.com/nix-community/naersk/issues/169
 | 
						|
  root = depot.nix.sparseTree ./. [
 | 
						|
    ./Cargo.toml
 | 
						|
    ./Cargo.lock
 | 
						|
  ];
 | 
						|
 | 
						|
  passthru = {
 | 
						|
    docker = import ./docker.nix args;
 | 
						|
  };
 | 
						|
}
 |