diff options
author | alois31 <alois1@gmx-topmail.de> | 2024-07-02 14:12:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-07-02 14:12:07 +0000 |
commit | 24852355d8975dcc786ddc4d5853043a52e4c78c (patch) | |
tree | f97dd0189e0baa79f261dafd38644c59c9a42f44 /src/nix/upgrade-nix.cc | |
parent | 865a3732faca16a79bf24982011adf100de04463 (diff) | |
parent | 0dd1d8ca1cdccfc620644a7f690ed35bcd2d1e74 (diff) |
Merge "tree-wide: unify progress bar inactive and paused states" into main
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); |