about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-01-15T10·25+0100
committerGitHub <noreply@github.com>2018-01-15T10·25+0100
commit53b520708a3c8677e70a70880ed3ec24f49fcd2b (patch)
tree1c2fb75af25c4d74fa941b116c6d7fbc804cf1f1 /src
parent74f75c855837bce7f48491e9ce8ac03794e5b40d (diff)
parent6454ca393a041345fd5b85f97bc452a696abfe4e (diff)
Merge pull request #1794 from dtzWill/feature/nix-log-pager
nix log: use pager
Diffstat (limited to 'src')
-rw-r--r--src/nix/log.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc
index 966ad8b65087..f07ec4e93a16 100644
--- a/src/nix/log.cc
+++ b/src/nix/log.cc
@@ -50,6 +50,7 @@ struct CmdLog : InstallableCommand
 
         auto b = installable->toBuildable();
 
+        RunPager pager;
         for (auto & sub : subs) {
             auto log = b.drvPath != "" ? sub->getBuildLog(b.drvPath) : nullptr;
             for (auto & output : b.outputs) {