refactor(tvix): Replace several DiscardLogsSink() with std::cerr
Introduces the actual log sink in several places where we actually want the build logs to thread through correctly. This should cover *most* build paths. Change-Id: I735dff8a79f7e35a5874eb89b4abb980f9703dc2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1827 Reviewed-by: glittershark <grfn@gws.fyi> Tested-by: BuildkiteCI
This commit is contained in:
parent
262af89f81
commit
06681c35a9
7 changed files with 15 additions and 24 deletions
3
third_party/nix/src/nix-build/nix-build.cc
vendored
3
third_party/nix/src/nix-build/nix-build.cc
vendored
|
|
@ -359,8 +359,7 @@ static void _main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
if (!dryRun) {
|
||||
auto discard_logs = DiscardLogsSink();
|
||||
util::OkOrThrow(store->buildPaths(discard_logs, paths, buildMode));
|
||||
util::OkOrThrow(store->buildPaths(std::cerr, paths, buildMode));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue