1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-09 07:53:55 +02:00

nix-build: Drop unnecessary call to queryMissing()

This is already done by Worker::run().
This commit is contained in:
Eelco Dolstra 2025-07-04 16:32:37 +02:00
parent 5d308ccca5
commit f039f6886a

View file

@ -420,12 +420,8 @@ static void main_nix_build(int argc, char * * argv)
state->maybePrintStats();
auto buildPaths = [&](const std::vector<DerivedPath> & paths) {
/* Note: we do this even when !printMissing to efficiently
fetch binary cache data. */
auto missing = store->queryMissing(paths);
if (settings.printMissing)
printMissing(ref<Store>(store), missing);
printMissing(ref<Store>(store), paths);
if (!dryRun)
store->buildPaths(paths, buildMode, evalStore);