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
commit 53b520708a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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