mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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
This commit is contained in:
parent
639bb95d0a
commit
5332480454
1 changed files with 3 additions and 0 deletions
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue