mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Reinstate the http://nixos.org/binary-cache default for the binary-caches setting
This commit is contained in:
parent
649bb60617
commit
aebea2e489
2 changed files with 4 additions and 4 deletions
|
@ -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/*";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue