aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-12-07 11:05:07 +0100
committerGitHub <noreply@github.com>2020-12-07 11:05:07 +0100
commit8a06edbf7e984bae426068189ff9a631bc26af72 (patch)
tree3c1d745b743b692206ed92cc71ea3c925495e4b2
parent1d1a85eb0adb54cd4aa01bede9bcf0835f6cbb65 (diff)
parentaa07502009625fe0d38fde1a23c50dd34f1996eb (diff)
Merge pull request #4321 from matthewbauer/always-default-cache-nixos-org
Always default to cache.nixos.org even when different nix store dir
-rw-r--r--src/libstore/globals.hh2
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