nix run: Flush the progress bar before starting the command
This commit is contained in:
parent
05d68a6e23
commit
c8235c5313
5 changed files with 28 additions and 19 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue