mirror of
https://github.com/NixOS/nix.git
synced 2025-12-22 08:51:08 +01:00
Merge pull request #14839 from NixOS/backport-14837-to-2.32-maintenance
[Backport 2.32-maintenance] libstore/store-api: Do not query all substituters for substitutable p…
This commit is contained in:
commit
e398f43632
1 changed files with 2 additions and 0 deletions
|
|
@ -447,6 +447,8 @@ void Store::querySubstitutablePathInfos(const StorePathCAMap & paths, Substituta
|
||||||
.downloadSize = narInfo ? narInfo->fileSize : 0,
|
.downloadSize = narInfo ? narInfo->fileSize : 0,
|
||||||
.narSize = info->narSize,
|
.narSize = info->narSize,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
break; /* We are done. */
|
||||||
} catch (InvalidPath &) {
|
} catch (InvalidPath &) {
|
||||||
} catch (SubstituterDisabled &) {
|
} catch (SubstituterDisabled &) {
|
||||||
} catch (Error & e) {
|
} catch (Error & e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue