Merge pull request #1794 from dtzWill/feature/nix-log-pager

nix log: use pager
This commit is contained in:
Eelco Dolstra
2018-01-15 11:25:48 +01:00
committed by GitHub

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