Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [clever@amd-nixos:/tmp]$ mkdir foo bar baz
- [clever@amd-nixos:/tmp]$ NIX_PATH=nixpkgs=foo:bar:baz nix-instantiate --find-file nixpkgs
- /tmp/foo
- [clever@amd-nixos:/tmp]$ touch bar/x
- [clever@amd-nixos:/tmp]$ touch baz/y
- [clever@amd-nixos:/tmp]$ NIX_PATH=nixpkgs=foo:bar:baz nix-instantiate --find-file y
- /tmp/baz/y
- [clever@amd-nixos:/tmp]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement