From 533248045446ffab4939a7cf8fa3fdd500326abc Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 16 Sep 2013 13:28:59 +0200 Subject: nixos-install: Fix copying from the CD Nix 1.6 doesn't run the copy-from-other-stores substituter by default anymore, so turn it on explicitly. http://hydra.nixos.org/build/6144173 --- modules/installer/tools/nixos-install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/installer/tools/nixos-install.sh b/modules/installer/tools/nixos-install.sh index 5ff28dcfec82..b7efcd2156ce 100644 --- a/modules/installer/tools/nixos-install.sh +++ b/modules/installer/tools/nixos-install.sh @@ -157,6 +157,9 @@ fi # /mnt in the chroot is the root of the CD. export NIX_OTHER_STORES=/mnt/nix:$NIX_OTHER_STORES +p=@nix@/libexec/nix/substituters +export NIX_SUBSTITUTERS=$p/copy-from-other-stores.pl:$p/download-from-binary-cache.pl + # Make manifests available in the chroot. rm -f $mountPoint/nix/var/nix/manifests/* -- cgit 1.4.1