nix-build: Print stats even in failing builds
This commit is contained in:
parent
b7bb627f67
commit
87702532d2
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue