mirror of
https://github.com/NixOS/nix
synced 2025-07-09 03:43:54 +02:00
nix-build: Drop unnecessary call to queryMissing()
This is already done by Worker::run().
This commit is contained in:
parent
5d308ccca5
commit
f039f6886a
1 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue