nix log: use pager
This commit is contained in:
parent
74f75c8558
commit
6454ca393a
|
@ -50,6 +50,7 @@ struct CmdLog : InstallableCommand
|
||||||
|
|
||||||
auto b = installable->toBuildable();
|
auto b = installable->toBuildable();
|
||||||
|
|
||||||
|
RunPager pager;
|
||||||
for (auto & sub : subs) {
|
for (auto & sub : subs) {
|
||||||
auto log = b.drvPath != "" ? sub->getBuildLog(b.drvPath) : nullptr;
|
auto log = b.drvPath != "" ? sub->getBuildLog(b.drvPath) : nullptr;
|
||||||
for (auto & output : b.outputs) {
|
for (auto & output : b.outputs) {
|
||||||
|
|
Loading…
Reference in a new issue