aboutsummaryrefslogtreecommitdiff
path: root/src/nix/flake.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix/flake.cc')
-rw-r--r--src/nix/flake.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix/flake.cc b/src/nix/flake.cc
index ce5ce8742..66fa11e47 100644
--- a/src/nix/flake.cc
+++ b/src/nix/flake.cc
@@ -147,6 +147,8 @@ struct CmdFlakeDeps : FlakeCommand, MixJSON
std::queue<ResolvedFlake> todo;
todo.push(resolveFlake());
+ stopProgressBar();
+
while (!todo.empty()) {
auto resFlake = std::move(todo.front());
todo.pop();
@@ -204,6 +206,7 @@ struct CmdFlakeInfo : FlakeCommand, MixJSON
void run(nix::ref<nix::Store> store) override
{
auto flake = getFlake();
+ stopProgressBar();
printFlakeInfo(flake, json);
}
};