[Nix-dev] nix-env ignores NIX_PATH ?

Sergey Mironov ierton at gmail.com
Sat Jun 2 19:18:24 CEST 2012


Hi. I am trying to do

$ export NIX_PATH=$HOME/proj/nix/nixpkgs
$ nix-env -v -i smth

where smth is a package available in my personal dev tree located in
$HOME/proj/nix/nixpkgs. According to logs, nix-env starts to search in
channel's source, than in depricated /etc/nixos/ tree, but doesn't
attempt to look into my tree. What am I doing wrong?

Thanks,
Sergey

PS
nixos-rebuild (and thus nix-build) reacts on NIX_PATH correctly
PPS
$ nix-env --version
nix-env (Nix) 1.0


More information about the nix-dev mailing list