about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
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 6482b9c18391..7e203ec9d057 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -166,9 +166,8 @@ sub getAvailableCaches {
     $gotCaches = 1;
 
     my @urls = map { s/\/+$//; $_ } split(/ /,
-        ($ENV{"NIX_BINARY_CACHES"}
-         // $Nix::Config::config{"binary-caches"}
-         // ($Nix::Config::storeDir eq "/nix/store" ? "http://nixos.org/binary-cache" : "")));
+        $Nix::Config::config{"binary-caches"}
+        // ($Nix::Config::storeDir eq "/nix/store" ? "http://nixos.org/binary-cache" : ""));
 
     foreach my $url (@urls) {