aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix/why-depends.cc2
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 & ) { }