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:
parent
7d5bdf8b56
commit
fa32560169
9 changed files with 27 additions and 19 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue