nix log: use pager

This commit is contained in:
Will Dietz 2018-01-12 14:45:05 -06:00
parent 74f75c8558
commit 6454ca393a
1 changed files with 1 additions and 0 deletions

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) {