summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-25 17:44:36 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-09-27 21:06:35 +0200
commitefed00b55ed5c958ef4f9db699bbe80fb6d4f251 (patch)
treed739f386fd37b525f84346935ec3d36d4b955f76 /nixos/modules/installer/cd-dvd
parent6070cd09fc8382528788e86d44537a7d9ccdd9f1 (diff)
downloadnixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar.gz
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar.bz2
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar.lz
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar.xz
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.tar.zst
nixlib-efed00b55ed5c958ef4f9db699bbe80fb6d4f251.zip
channel.nix: Fix broken flag to skip substitutes
Diffstat (limited to 'nixos/modules/installer/cd-dvd')
-rw-r--r--nixos/modules/installer/cd-dvd/channel.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/cd-dvd/channel.nix b/nixos/modules/installer/cd-dvd/channel.nix
index eccb19da5cb3..ea7e3e16b8df 100644
--- a/nixos/modules/installer/cd-dvd/channel.nix
+++ b/nixos/modules/installer/cd-dvd/channel.nix
@@ -33,7 +33,7 @@ in
         echo "unpacking the NixOS/Nixpkgs sources..."
         mkdir -p /nix/var/nix/profiles/per-user/root
         ${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/per-user/root/channels \
-          -i ${channelSources} --quiet --option use-substitutes false
+          -i ${channelSources} --quiet --option build-use-substitutes false
         mkdir -m 0700 -p /root/.nix-defexpr
         ln -s /nix/var/nix/profiles/per-user/root/channels /root/.nix-defexpr/channels
         mkdir -m 0755 -p /var/lib/nixos