nix: Added default value for NIX_PATH inside nix.sh

This commit is contained in:
Julian Paul Dasmarinas 2018-09-22 16:23:38 +08:00 committed by maxice8
parent 527780f5aa
commit d3b3e39eb5
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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"