1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 12:41:15 +02:00

Fix the registration of stores

This commit is contained in:
regnat 2020-09-09 11:18:12 +02:00
parent 7d5bdf8b56
commit fa32560169
9 changed files with 27 additions and 19 deletions

View file

@ -1093,7 +1093,7 @@ ref<Store> openStore(const std::string & uri_,
return ref<Store>(store);
}
for (auto implem : *implementations) {
for (auto implem : *Implementations::registered) {
auto store = implem.open(uri, params);
if (store) {
store->warnUnknownSettings();
@ -1136,5 +1136,6 @@ std::list<ref<Store>> getDefaultSubstituters()
return stores;
}
std::vector<StoreFactory> * Implementations::registered = 0;
}