Merge pull request #4321 from matthewbauer/always-default-cache-nixos-org

Always default to cache.nixos.org even when different nix store dir
This commit is contained in:
Eelco Dolstra 2020-12-07 11:05:07 +01:00 committed by GitHub
commit 8a06edbf7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -583,7 +583,7 @@ public:
Setting<Strings> substituters{
this,
nixStore == "/nix/store" ? Strings{"https://cache.nixos.org/"} : Strings(),
Strings{"https://cache.nixos.org/"},
"substituters",
R"(
A list of URLs of substituters, separated by whitespace. The default