mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Disable the binary cache substituter by default for now
This commit is contained in:
parent
cfd968dd94
commit
9e2fc6951c
2 changed files with 4 additions and 5 deletions
|
@ -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/*";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue