Merge pull request #1664 from matthewbauer/patch-4

Setup NIX_PATH correctly in nix-profile-daemon
This commit is contained in:
Eelco Dolstra 2018-05-25 13:36:04 +02:00 committed by GitHub
commit 1df32c7d7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"