nix-build: Print stats even in failing builds
(cherry picked from commit 87702532d2)
This commit is contained in:
committed by
Eelco Dolstra
parent
958e037a08
commit
348a2eb84a
@@ -305,6 +305,8 @@ void mainWrapped(int argc, char * * argv)
|
||||
}
|
||||
}
|
||||
|
||||
state->printStats();
|
||||
|
||||
auto buildPaths = [&](const PathSet & paths) {
|
||||
/* Note: we do this even when !printMissing to efficiently
|
||||
fetch binary cache data. */
|
||||
@@ -495,7 +497,6 @@ void mainWrapped(int argc, char * * argv)
|
||||
|
||||
for (auto & path : outPaths)
|
||||
std::cout << path << '\n';
|
||||
state->printStats();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user