Setup nix_path correctly in nix-profile-daemon

We need nixpkgs to be set in NIX_PATH for Nix 1.12 to work correctly
This commit is contained in:
Matthew Justin Bauer 2017-11-04 21:17:09 -05:00 committed by Matthew Bauer
parent 7a4d9574d9
commit d7a84d330c

View file

@ -50,5 +50,5 @@ if test -w $HOME; then
fi
export NIX_SSL_CERT_FILE="@localstatedir@/nix/profiles/default/etc/ssl/certs/ca-bundle.crt"
export NIX_PATH="@localstatedir@/nix/profiles/per-user/root/channels"
export NIX_PATH="nixpkgs=@localstatedir@/nix/profiles/per-user/root/channels/nixpkgs:@localstatedir@/nix/profiles/per-user/root/channels"
export PATH="$HOME/.nix-profile/bin:$HOME/.nix-profile/lib/kde4/libexec:@localstatedir@/nix/profiles/default/bin:@localstatedir@/nix/profiles/default:@localstatedir@/nix/profiles/default/lib/kde4/libexec:$PATH"