forked from fediversity/fediversity
		
	Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io> Reviewed-on: Fediversity/Fediversity#412 Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io> Co-authored-by: Kiara Grouwstra <kiara@procolix.eu> Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			550 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			550 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
/**
 | 
						|
  Nixpkgs overlay adding extra packages needed for the application
 | 
						|
*/
 | 
						|
_: prev:
 | 
						|
let
 | 
						|
  extraPython3Packages = prev.callPackage ./python-packages { };
 | 
						|
 | 
						|
in
 | 
						|
{
 | 
						|
  python3 = prev.lib.attrsets.recursiveUpdate prev.python3 { pkgs = extraPython3Packages; };
 | 
						|
  nixops4 =
 | 
						|
    let
 | 
						|
      sources = import ../../npins;
 | 
						|
      inherit (import sources.flake-inputs) import-flake;
 | 
						|
      inherit
 | 
						|
        (import-flake {
 | 
						|
          src = ../../.;
 | 
						|
        })
 | 
						|
        inputs
 | 
						|
        ;
 | 
						|
      inherit (inputs) nixops4;
 | 
						|
    in
 | 
						|
    nixops4.packages.${prev.system}.default;
 | 
						|
}
 |