about summary refs log tree commit diff
path: root/scripts/download-from-binary-cache.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09T10·50+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-09T12·16+0100
commite5891f2ea848d00245b34ca794ae52ff480625d1 (patch)
tree0f949fdc7f12085138809ff899b38bf14c0bedbc /scripts/download-from-binary-cache.pl.in
parent9c58691ce3a35833ddcbf157f9f174ab0cc1c37a (diff)
Use https://cache.nixos.org instead of http://cache.nixos.org
Diffstat (limited to 'scripts/download-from-binary-cache.pl.in')
-rw-r--r--scripts/download-from-binary-cache.pl.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index e272f139cf8c..fe0195e4e12e 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -218,7 +218,7 @@ sub getAvailableCaches {
     }
 
     my @urls = strToList($Nix::Config::config{"binary-caches"} //
-        ($Nix::Config::storeDir eq "/nix/store" ? "http://cache.nixos.org" : ""));
+        ($Nix::Config::storeDir eq "/nix/store" ? "https://cache.nixos.org" : ""));
 
     my $urlsFiles = $Nix::Config::config{"binary-cache-files"}
         // "$Nix::Config::stateDir/profiles/per-user/$userName/channels/binary-caches/*";