From e8294555216c86e74d7e251b12c9f5459a8bc6e6 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Sun, 22 Feb 2009 16:08:59 +0000 Subject: [PATCH] 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 --- installer/nixos-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/nixos-install.sh b/installer/nixos-install.sh index 1288304cbe0f..1784b4357f19 100644 --- a/installer/nixos-install.sh +++ b/installer/nixos-install.sh @@ -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