[Nix-dev] nix-env ignores NIX_PATH ?

Kirill Elagin kirelagin at gmail.com
Sun Jun 17 17:44:10 CEST 2012


2012/6/17 Sergey Mironov <ierton at gmail.com>

> Thanks, linking ~/proj/nix/nixpkgs into ~/.nix-defexpr works. But what
> is NIX_PATH for?
>

It is used look up expressions enclosed in angle brackets as man says ;).

For example, try this: ``NIX_PATH="hey=$HOME/code/nixos/nixpkgs" nix-env -f
'<hey>' -qa '*'`` (adjust the path as needed).

--
Кирилл Елагин
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120617/d25d019f/attachment-0001.html 


More information about the nix-dev mailing list