diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2017-11-05T02·17-0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-04-04T23·02-0500 |
commit | d7a84d330cc677d3c9e2c5553a861ab9f82245f6 (patch) | |
tree | a4619c598283242708a90cd2903d03c35ddd2d35 /scripts/nix-profile-daemon.sh.in | |
parent | 7a4d9574d9275426e31bb2b3fbb8515600d233c4 (diff) |
Setup nix_path correctly in nix-profile-daemon
We need nixpkgs to be set in NIX_PATH for Nix 1.12 to work correctly
Diffstat (limited to 'scripts/nix-profile-daemon.sh.in')
-rw-r--r-- | scripts/nix-profile-daemon.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-profile-daemon.sh.in b/scripts/nix-profile-daemon.sh.in index 43c7156062de..4632099e3c80 100644 --- a/scripts/nix-profile-daemon.sh.in +++ b/scripts/nix-profile-daemon.sh.in @@ -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" |