aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoreldritch horrors <pennae@lix.systems>2024-03-04 09:10:59 +0100
committereldritch horrors <pennae@lix.systems>2024-03-04 09:25:17 +0100
commit82075c8ebdd0956844123e067f3c2fb7d29b0bbd (patch)
tree82cf7bd742e4e1e428d1e50082c48925f8d90b9e /src
parent523250d18b4b1ec54631ae0477b6e5a8cebf3ba5 (diff)
Merge pull request #10054 from syvb/channel-unpack-count
Say how many channels were unpacked in nix-channel (cherry picked from commit 9ae665b9e1dc64c507ab6002fc5d7824208f3777) Change-Id: Ie0950cf32123b550c5b83981a020e513f72a9b7c
Diffstat (limited to 'src')
-rw-r--r--src/nix-channel/nix-channel.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc
index 95f401441..898d7b05d 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));