1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

merge stderr to stdout so we can emit it

This commit is contained in:
Farid Zakaria 2025-07-11 09:39:34 -07:00
parent 8e8416387c
commit fb6f494d35

View file

@ -552,11 +552,12 @@ struct GitRepoImpl : GitRepo, std::enable_shared_from_this<GitRepoImpl>
// we're using --quiet for now. Should process its stderr. // we're using --quiet for now. Should process its stderr.
.args = gitArgs, .args = gitArgs,
.input = {}, .input = {},
.mergeStderrToStdout = true,
.isInteractive = true .isInteractive = true
}); });
if (status > 0) { if (status > 0) {
throw Error("Failed to fetch git repository %s: %s", url, output); throw Error("Failed to fetch git repository %s : %s", url, output);
} }
} }