diff options
Diffstat (limited to 'src/nix/upgrade-nix.cc')
-rw-r--r-- | src/nix/upgrade-nix.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nix/upgrade-nix.cc b/src/nix/upgrade-nix.cc index c7f31f3fb..371879791 100644 --- a/src/nix/upgrade-nix.cc +++ b/src/nix/upgrade-nix.cc @@ -13,7 +13,6 @@ #include "eval-settings.hh" #include "attr-path.hh" #include "names.hh" -#include "progress-bar.hh" using namespace nix; @@ -88,7 +87,7 @@ struct CmdUpgradeNix : MixDryRun, EvalCommand auto version = DrvName(storePath.name()).version; if (dryRun) { - stopProgressBar(); + logger->pause(); warn("would upgrade to version %s", version); return; } @@ -106,7 +105,7 @@ struct CmdUpgradeNix : MixDryRun, EvalCommand throw Error("could not verify that '%s' works", program); } - stopProgressBar(); + logger->pause(); auto const fullStorePath = store->printStorePath(storePath); |