aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nix/why-depends.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/why-depends.cc b/src/nix/why-depends.cc
index 17e0595ae..325a2be0a 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 <queue>
@@ -237,6 +238,7 @@ struct CmdWhyDepends : SourceExprCommand
visitPath(node.path);
+ RunPager pager;
for (auto & ref : refs) {
auto hash = storePathToHash(ref.second->path);