about summary refs log tree commit diff
path: root/nixos/modules/installer/tools/nixos-rebuild.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09 13:27:00 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09 13:38:46 +0100
commitfaf0797c0ca8b2bff1887e897e7a769007df4cc7 (patch)
tree92b36d4c3edb558d751d1bfd8fd760dbb2a8d62c /nixos/modules/installer/tools/nixos-rebuild.sh
parentfe28966179502e9b6418aeae03a2122a854243df (diff)
downloadnixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.gz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.bz2
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.lz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.xz
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.tar.zst
nixlib-faf0797c0ca8b2bff1887e897e7a769007df4cc7.zip
Use https://cache.nixos.org
Diffstat (limited to 'nixos/modules/installer/tools/nixos-rebuild.sh')
-rw-r--r--nixos/modules/installer/tools/nixos-rebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh
index 5daa9ff9457c..93f258f54e3e 100644
--- a/nixos/modules/installer/tools/nixos-rebuild.sh
+++ b/nixos/modules/installer/tools/nixos-rebuild.sh
@@ -156,7 +156,7 @@ if [ -n "$buildNix" ]; then
                     exit 1
                 fi
                 if ! nix-store -r $nixStorePath --add-root $tmpDir/nix --indirect \
-                    --option extra-binary-caches http://cache.nixos.org/; then
+                    --option extra-binary-caches https://cache.nixos.org/; then
                     echo "warning: don't know how to get latest Nix" >&2
                 fi
                 # Older version of nix-store -r don't support --add-root.