diff --git a/srcpkgs/nix/files/nix.sh b/srcpkgs/nix/files/nix.sh index e2f0b270ebe..b94c71af374 100644 --- a/srcpkgs/nix/files/nix.sh +++ b/srcpkgs/nix/files/nix.sh @@ -43,3 +43,4 @@ fi export PATH=/nix/var/nix/profiles/default/bin:$PATH export PATH=$HOME/.nix-profile/bin:$PATH +export NIX_PATH=$HOME/.nix-defexpr/channels diff --git a/srcpkgs/nix/template b/srcpkgs/nix/template index 8528d4f8b80..7114d6f3821 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -1,7 +1,7 @@ # Template file for 'nix' pkgname=nix version=2.0.4 -revision=1 +revision=2 build_style=gnu-configure # Use /nix/var as suggested by the official Manual. configure_args="--localstatedir=/nix/var"