diff options
Diffstat (limited to 'src/nix/edit.cc')
-rw-r--r-- | src/nix/edit.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix/edit.cc b/src/nix/edit.cc index 5cf9c7200d03..fd07913bcfa2 100644 --- a/src/nix/edit.cc +++ b/src/nix/edit.cc @@ -2,6 +2,7 @@ #include "shared.hh" #include "eval.hh" #include "attr-path.hh" +#include "progress-bar.hh" #include <unistd.h> @@ -65,6 +66,8 @@ struct CmdEdit : InstallablesCommand args.push_back(filename); + stopProgressBar(); + execvp(editor.c_str(), stringsToCharPtrs(args).data()); throw SysError("cannot run editor '%s'", editor); |