diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-01-17 10:10:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-17 10:10:31 +0100 |
commit | bb24d1edd7c0d0c47a85b39c0c2c2b3093e897b6 (patch) | |
tree | 219ba194e208cd38df1d6f2310ee22a7982025f9 | |
parent | e1720b8e9d35667540cca3dc85cdb9b8b493b30f (diff) | |
parent | 81cd0a113b8da1485c2f892c9dd9edb541f139ad (diff) |
Merge pull request #5914 from NixOS/5911-fix-nix-why-depends-pager
Start the pager early-enough in `nix why-depends`
-rw-r--r-- | src/nix/why-depends.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc index e27f56ef5..dd43bd1c3 100644 --- a/src/nix/why-depends.cc +++ b/src/nix/why-depends.cc @@ -239,7 +239,6 @@ struct CmdWhyDepends : SourceExprCommand visitPath(pathS); - RunPager pager; for (auto & ref : refs) { std::string hash(ref.second->path.hashPart()); @@ -259,6 +258,7 @@ struct CmdWhyDepends : SourceExprCommand } }; + RunPager pager; try { printNode(graph.at(packagePath), "", ""); } catch (BailOut & ) { } |