Guest User

Untitled

a guest
May 8th, 2018
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. parent/shell.nix:
  2.  
  3. {pkgs ? (import <nixpkgs> {})}:
  4.  
  5. with pkgs;
  6.  
  7. stdenv.mkDerivation {
  8. name = "foo";
  9. buildInputs = [ baz bar ];
  10. SOMENV = "..";
  11. }
  12.  
  13. child/shell.nix:
  14. with import <nixpkgs> {};
  15.  
  16. stdenv.mkDerivation {
  17. name = "some";
  18. buildInputs = [ (import ../shell.nix) some more stuff ];
  19. }
Add Comment
Please, Sign In to add comment