From d7a84d330cc677d3c9e2c5553a861ab9f82245f6 Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Sat, 4 Nov 2017 21:17:09 -0500 Subject: Setup nix_path correctly in nix-profile-daemon We need nixpkgs to be set in NIX_PATH for Nix 1.12 to work correctly --- scripts/nix-profile-daemon.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit 1.4.1