Skip to content

Commit f039f68

Browse files
committed
nix-build: Drop unnecessary call to queryMissing()
This is already done by Worker::run().
1 parent 5d308cc commit f039f68

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/nix-build/nix-build.cc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -420,12 +420,8 @@ static void main_nix_build(int argc, char * * argv)
420420
state->maybePrintStats();
421421

422422
auto buildPaths = [&](const std::vector<DerivedPath> & paths) {
423-
/* Note: we do this even when !printMissing to efficiently
424-
fetch binary cache data. */
425-
auto missing = store->queryMissing(paths);
426-
427423
if (settings.printMissing)
428-
printMissing(ref<Store>(store), missing);
424+
printMissing(ref<Store>(store), paths);
429425

430426
if (!dryRun)
431427
store->buildPaths(paths, buildMode, evalStore);

0 commit comments

Comments
 (0)