mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
Fix 'error: reading a line: Input/output error' in startBuilder()
With -vvvv, the ProgressBar was polluting the stderr of the child, messing up its \2 message to the parent.
This commit is contained in:
parent
8430a8f086
commit
9c766a40cb
2 changed files with 4 additions and 2 deletions
|
@ -1716,6 +1716,8 @@ string showBytes(uint64_t bytes)
|
|||
// FIXME: move to libstore/build
|
||||
void commonChildInit(Pipe & logPipe)
|
||||
{
|
||||
logger = makeSimpleLogger();
|
||||
|
||||
const static string pathNullDevice = "/dev/null";
|
||||
restoreProcessContext();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue