diff options
Diffstat (limited to 'third_party/nix/src/nix-channel/nix-channel.cc')
-rw-r--r-- | third_party/nix/src/nix-channel/nix-channel.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-channel/nix-channel.cc b/third_party/nix/src/nix-channel/nix-channel.cc index eca31a53384a..ec72258b10aa 100644 --- a/third_party/nix/src/nix-channel/nix-channel.cc +++ b/third_party/nix/src/nix-channel/nix-channel.cc @@ -148,7 +148,9 @@ static void update(const StringSet& channelNames) { Strings envArgs{"--profile", profile, "--file", "<nix/unpack-channel.nix>", "--install", "--from-expression"}; - for (auto& expr : exprs) envArgs.push_back(std::move(expr)); + for (auto& expr : exprs) { + envArgs.push_back(std::move(expr)); + } envArgs.push_back("--quiet"); runProgram(settings.nixBinDir + "/nix-env", false, envArgs); |