Skip to content

Commit 6a62772

Browse files
xokdviumthomasjm
authored andcommitted
libstore/store-api: Do not query all substituters for substitutable path infos
This was broken in 11d7c80.
1 parent bb9f6c8 commit 6a62772

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/libstore/store-api.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,8 @@ void Store::querySubstitutablePathInfos(const StorePathCAMap & paths, Substituta
447447
.downloadSize = narInfo ? narInfo->fileSize : 0,
448448
.narSize = info->narSize,
449449
});
450+
451+
break; /* We are done. */
450452
} catch (InvalidPath &) {
451453
} catch (SubstituterDisabled &) {
452454
} catch (Error & e) {

0 commit comments

Comments
 (0)