From 6454ca393a041345fd5b85f97bc452a696abfe4e Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 12 Jan 2018 14:45:05 -0600 Subject: [PATCH] nix log: use pager --- src/nix/log.cc | 1 + 1 file changed, 1 insertion(+) 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) {