nix-build: Print stats even in failing builds
This commit is contained in:
@@ -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