nix log: use pager

This commit is contained in:
Will Dietz
2018-01-12 15:05:26 -06:00
parent 74f75c8558
commit 6454ca393a
+1
View File
@@ -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) {