aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-30 16:39:31 -0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-30 16:39:31 -0400
commit9de6d10d112665ba1c6d807dd3950ed4c43a4404 (patch)
tree2f9fbded84136decf01c0f707371731e3c1bf1b6 /scripts
parentab42bf1dab026d10b74e857a76feff475ae8a162 (diff)
Get rid of $NIX_BINARY_CACHES
You can use ‘--option binary-caches URLs’ instead.
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 6482b9c18..7e203ec9d 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) {