mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
parent
3d2d207aad
commit
aa02cdc33c
1 changed files with 5 additions and 1 deletions
|
@ -896,7 +896,11 @@ std::list<ref<Store>> getDefaultSubstituters()
|
||||||
auto addStore = [&](const std::string & uri) {
|
auto addStore = [&](const std::string & uri) {
|
||||||
if (done.count(uri)) return;
|
if (done.count(uri)) return;
|
||||||
done.insert(uri);
|
done.insert(uri);
|
||||||
stores.push_back(openStore(uri));
|
try {
|
||||||
|
stores.push_back(openStore(uri));
|
||||||
|
} catch (Error & e) {
|
||||||
|
printError("warning: %s", e.what());
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
for (auto uri : settings.substituters.get())
|
for (auto uri : settings.substituters.get())
|
||||||
|
|
Loading…
Reference in a new issue