Skip to content

Commit

Permalink
Merge pull request #1794 from dtzWill/feature/nix-log-pager
Browse files Browse the repository at this point in the history
nix log: use pager
  • Loading branch information
edolstra committed Jan 15, 2018
2 parents 74f75c8 + 6454ca3 commit 53b5207
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/nix/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 53b5207

Please sign in to comment.