forked from lix-project/lix
Merge pull request #1794 from dtzWill/feature/nix-log-pager
nix log: use pager
This commit is contained in:
commit
53b520708a
|
@ -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