diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-03-21T14·06+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-03-21T14·06+0100 |
commit | 4bb38591e591e3ef59f7881575ca1f28015a8c47 (patch) | |
tree | 411e6f98a2802f5d9f04fdbb01fe76ffcb10cefe /src/libstore/crypto.cc | |
parent | 7347daba8cf3a12706d3714bdaf9b7c104accde6 (diff) |
Restore cache.nixos.org as the default substituter
Fixes #1283.
Diffstat (limited to 'src/libstore/crypto.cc')
-rw-r--r-- | src/libstore/crypto.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstore/crypto.cc b/src/libstore/crypto.cc index 747483afb30b..0fc86a1fe921 100644 --- a/src/libstore/crypto.cc +++ b/src/libstore/crypto.cc @@ -105,7 +105,9 @@ PublicKeys getDefaultPublicKeys() // FIXME: filter duplicates - for (auto s : settings.get("binary-cache-public-keys", Strings())) { + for (auto s : settings.get("binary-cache-public-keys", + Strings{"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="})) + { PublicKey key(s); publicKeys.emplace(key.name, key); } |