From 8a98ffc276989700f55847e212837d93d6898add Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 3 Jul 2018 12:49:12 +0200 Subject: [PATCH] nix why-depends: render output into $PAGER --- src/nix/why-depends.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc index 17e0595a..325a2be0 100644 --- a/src/nix/why-depends.cc +++ b/src/nix/why-depends.cc @@ -2,6 +2,7 @@ #include "store-api.hh" #include "progress-bar.hh" #include "fs-accessor.hh" +#include "shared.hh" #include @@ -237,6 +238,7 @@ struct CmdWhyDepends : SourceExprCommand visitPath(node.path); + RunPager pager; for (auto & ref : refs) { auto hash = storePathToHash(ref.second->path);