mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Ensure we're writing to stderr in the builder
http://hydra.nixos.org/build/17862041
This commit is contained in:
parent
5a2d451648
commit
28f22b4653
6 changed files with 21 additions and 19 deletions
|
@ -488,7 +488,7 @@ static void opReadLog(Strings opFlags, Strings opArgs)
|
|||
if (pathExists(logPath)) {
|
||||
/* !!! Make this run in O(1) memory. */
|
||||
string log = readFile(logPath);
|
||||
writeFull(STDOUT_FILENO, (const unsigned char *) log.data(), log.size());
|
||||
writeFull(STDOUT_FILENO, log);
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue