1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-22 17:01: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:
internal-nix-ci[bot] 2025-12-19 15:25:30 +00:00 committed by GitHub
commit e398f43632
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {