1
1
Fork 0
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 in 11d7c80370.

(cherry picked from commit 2308f200c8)
This commit is contained in:
Sergei Zimmerman 2025-12-19 04:51:43 +03:00 committed by github-actions[bot]
parent 256fdf31e6
commit f9f38cddd2

View file

@ -447,6 +447,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) {