Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. [clever@amd-nixos:/tmp]$ mkdir foo bar baz
  2.  
  3. [clever@amd-nixos:/tmp]$ NIX_PATH=nixpkgs=foo:bar:baz nix-instantiate --find-file nixpkgs
  4. /tmp/foo
  5.  
  6. [clever@amd-nixos:/tmp]$ touch bar/x
  7.  
  8. [clever@amd-nixos:/tmp]$ touch baz/y
  9.  
  10. [clever@amd-nixos:/tmp]$ NIX_PATH=nixpkgs=foo:bar:baz nix-instantiate --find-file y
  11. /tmp/baz/y
  12.  
  13. [clever@amd-nixos:/tmp]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement