From 60eeacc24a0d4dd8dabeb7fcf16b3aea5b8d3192 Mon Sep 17 00:00:00 2001 From: syvb Date: Tue, 20 Feb 2024 19:17:18 -0500 Subject: [PATCH] Say how many channels were unpacked --- src/nix-channel/nix-channel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc index 79db7823696..48553fa31d0 100644 --- a/src/nix-channel/nix-channel.cc +++ b/src/nix-channel/nix-channel.cc @@ -138,7 +138,7 @@ static void update(const StringSet & channelNames) // Unpack the channel tarballs into the Nix store and install them // into the channels profile. - std::cerr << "unpacking channels...\n"; + std::cerr << "unpacking " << exprs.size() << " channels...\n"; Strings envArgs{ "--profile", profile, "--file", unpackChannelPath, "--install", "--remove-all", "--from-expression" }; for (auto & expr : exprs) envArgs.push_back(std::move(expr));