added possibility make nixos-install not downlooad the manifest

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

svn path=/nixos/branches/fix-style/; revision=14188
This commit is contained in:
Nicolas Pierron 2009-02-22 16:08:59 +00:00
parent b1164d8dae
commit e829455521

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