diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-06 23:04:42 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2020-12-06 23:04:42 -0600 |
commit | aa07502009625fe0d38fde1a23c50dd34f1996eb (patch) | |
tree | 3c1d745b743b692206ed92cc71ea3c925495e4b2 | |
parent | 1d1a85eb0adb54cd4aa01bede9bcf0835f6cbb65 (diff) |
Always default to cache.nixos.org even when different nix store dir
Since 0744f7f, it is now useful to have cache.nixos.org in substituers
even if /nix/store is not the Nix Store Dir. This can always be
overridden via configuration, though.
-rw-r--r-- | src/libstore/globals.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 4655ca058..6b4775683 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -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 |