about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/nix/eval.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nix/eval.cc b/src/nix/eval.cc
index 2bc58b7dd4b5..b7058361cbec 100644
--- a/src/nix/eval.cc
+++ b/src/nix/eval.cc
@@ -5,6 +5,7 @@
 #include "eval.hh"
 #include "json.hh"
 #include "value-to-json.hh"
+#include "progress-bar.hh"
 
 using namespace nix;
 
@@ -58,6 +59,9 @@ struct CmdEval : MixJSON, InstallableCommand
 
         auto v = installable->toValue(*state);
         PathSet context;
+
+        stopProgressBar();
+
         if (raw) {
             std::cout << state->coerceToString(noPos, *v, context);
         } else if (json) {