Merge pull request #14840 from NixOS/backport-14837-to-2.33-maintenance

[Backport 2.33-maintenance] libstore/store-api: Do not query all substituters for substitutable p…
This commit is contained in:
internal-nix-ci[bot]
2025-12-19 15:34:58 +00:00
committed by GitHub

View File

@@ -454,6 +454,8 @@ void Store::querySubstitutablePathInfos(const StorePathCAMap & paths, Substituta
.downloadSize = narInfo ? narInfo->fileSize : 0,
.narSize = info->narSize,
});
break; /* We are done. */
} catch (InvalidPath &) {
} catch (SubstituterDisabled &) {
} catch (Error & e) {