aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index 8175d38e8..2fc93a05c 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -6,6 +6,7 @@
#include "local-store.hh"
#include "finally.hh"
#include "fs-accessor.hh"
+#include "progress-bar.hh"
#if __linux__
#include <sys/mount.h>
@@ -107,6 +108,8 @@ struct CmdRun : InstallablesCommand
std::string cmd = *command.begin();
Strings args = command;
+ stopProgressBar();
+
/* If this is a diverted store (i.e. its "logical" location
(typically /nix/store) differs from its "physical" location
(e.g. /home/eelco/nix/store), then run the command in a