diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-02T21·16+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-01-02T21·16+0100 |
commit | aebea2e489a21af260e7a654b0313efe042fbf9d (patch) | |
tree | 7e76d4967c3bb17cadd4c8aff263f813d8e71278 /scripts | |
parent | 649bb60617e5413a87625a0c23e5ebd4f6229703 (diff) |
Reinstate the http://nixos.org/binary-cache default for the binary-caches setting
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/download-from-binary-cache.pl.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index 98333dafb018..03c331a636dd 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -193,8 +193,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::Config::stateDir/profiles/per-user/$userName/channels/binary-caches/*"; |