about summary refs log tree commit diff
path: root/src/nix-build
diff options
context:
space:
mode:
authorGraham Christensen <graham@grahamc.com>2018-09-01T00·57-0400
committerGraham Christensen <graham@grahamc.com>2018-09-01T00·57-0400
commitb7bb627f674ce90d1a543bf3eab80b834bb592b2 (patch)
tree249db821f32324b15a9a18d37129f4a9e57dda5e /src/nix-build
parent475a0a54a9c28c311f0c05d129bb165e7c215efb (diff)
nix-build: print stats on sucessful builds
Diffstat (limited to 'src/nix-build')
-rwxr-xr-xsrc/nix-build/nix-build.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc
index 21a0756a2007..54d6b1db7366 100755
--- a/src/nix-build/nix-build.cc
+++ b/src/nix-build/nix-build.cc
@@ -495,6 +495,7 @@ void mainWrapped(int argc, char * * argv)
 
         for (auto & path : outPaths)
             std::cout << path << '\n';
+        state->printStats();
     }
 }