added possibility make nixos-install not downlooad the manifest

do so by export NIXOS_PULL=0 (same as in nixos-rebuild)

svn path=/nixos/trunk/; revision=14129
This commit is contained in:
Marc Weber 2009-02-19 15:40:53 +00:00
parent 018c99ec1c
commit a2a092db87

View file

@ -131,7 +131,7 @@ export NIX_OTHER_STORES=/mnt/nix:$NIX_OTHER_STORES
# Do a nix-pull to speed up building.
if test -n "@nixpkgsURL@"; then
if test -n "@nixpkgsURL@" -a ${NIXOS_PULL:-1} != 0; then
chroot $mountPoint @nix@/bin/nix-pull @nixpkgsURL@/MANIFEST || true
fi