about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-27T18·20-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-08-27T18·20-0400
commit9e2fc6951ca049b15149a2c4b75d2f5bff7f07e1 (patch)
tree49c0c914a6d3d02f54150bfaba3731aa9b98d720 /scripts
parentcfd968dd94f35c5ef781be9bda883d8818fc1d6e (diff)
Disable the binary cache substituter by default for now
Diffstat (limited to 'scripts')
-rw-r--r--scripts/download-from-binary-cache.pl.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index e65e2d5b36..335d7d9706 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -171,9 +171,8 @@ sub getAvailableCaches {
         return map { s/\/+$//; $_ } split(/ /, $s);
     }
 
-    my @urls = strToList
-        ($Nix::Config::config{"binary-caches"}
-         // ($Nix::Config::storeDir eq "/nix/store" ? "http://nixos.org/binary-cache" : ""));
+    my @urls = strToList ($Nix::Config::config{"binary-caches"} // "");
+    # // ($Nix::Config::storeDir eq "/nix/store" ? "http://nixos.org/binary-cache" : ""));
 
     my $urlsFiles = $Nix::Config::config{"binary-cache-files"}
         // "/nix/var/nix/profiles/per-user/root/channels/binary-caches/*";