Skip to content
Snippets Groups Projects
Unverified Commit 87702532 authored by Graham Christensen's avatar Graham Christensen
Browse files

nix-build: Print stats even in failing builds

parent b7bb627f
No related branches found
No related tags found
No related merge requests found
...@@ -305,6 +305,8 @@ void mainWrapped(int argc, char * * argv) ...@@ -305,6 +305,8 @@ void mainWrapped(int argc, char * * argv)
} }
} }
state->printStats();
auto buildPaths = [&](const PathSet & paths) { auto buildPaths = [&](const PathSet & paths) {
/* Note: we do this even when !printMissing to efficiently /* Note: we do this even when !printMissing to efficiently
fetch binary cache data. */ fetch binary cache data. */
...@@ -495,7 +497,6 @@ void mainWrapped(int argc, char * * argv) ...@@ -495,7 +497,6 @@ void mainWrapped(int argc, char * * argv)
for (auto & path : outPaths) for (auto & path : outPaths)
std::cout << path << '\n'; std::cout << path << '\n';
state->printStats();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment