Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parent/shell.nix:
- {pkgs ? (import <nixpkgs> {})}:
- with pkgs;
- stdenv.mkDerivation {
- name = "foo";
- buildInputs = [ baz bar ];
- SOMENV = "..";
- }
- child/shell.nix:
- with import <nixpkgs> {};
- stdenv.mkDerivation {
- name = "some";
- buildInputs = [ (import ../shell.nix) some more stuff ];
- }
Add Comment
Please, Sign In to add comment