diff options
author | Will Dietz <w@wdtz.org> | 2018-01-12 14:45:05 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-01-12 15:05:26 -0600 |
commit | 6454ca393a041345fd5b85f97bc452a696abfe4e (patch) | |
tree | 1c2fb75af25c4d74fa941b116c6d7fbc804cf1f1 /src/nix/log.cc | |
parent | 74f75c855837bce7f48491e9ce8ac03794e5b40d (diff) |
nix log: use pager
Diffstat (limited to 'src/nix/log.cc')
-rw-r--r-- | src/nix/log.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/log.cc b/src/nix/log.cc index 966ad8b65..f07ec4e93 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) { |