mirror of
https://github.com/NixOS/nix.git
synced 2025-12-22 00:41:08 +01:00
libstore/store-api: Do not query all substituters for substitutable path infos
This was broken in11d7c80370. (cherry picked from commit2308f200c8)
This commit is contained in:
parent
256fdf31e6
commit
f9f38cddd2
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