mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Get rid of $NIX_BINARY_CACHES
You can use ‘--option binary-caches URLs’ instead.
This commit is contained in:
parent
ab42bf1dab
commit
9de6d10d11
2 changed files with 6 additions and 5 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue