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
This commit is contained in:
eldritch horrors 2024-03-04 09:10:59 +01:00
parent 523250d18b
commit 82075c8ebd

View file

@ -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));