1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-22 08:51:08 +01:00

libstore/store-api: Do not query all substituters for substitutable path infos

This was broken in 11d7c80370.
This commit is contained in:
Sergei Zimmerman 2025-12-19 04:51:43 +03:00
parent 27006cc8a9
commit 2308f200c8
No known key found for this signature in database

View file

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