--print-build-logs|-L
ignores empty lines
#11991
Labels
bug
derivation-build
The process of building an individual derivation (see also sandbox label)
good first issue
Quick win for first-time contributors
Describe the bug
Empty lines printed by the builder of a derivation are not echo'ed to the build log,
despite being present in the build log of the derivation.
Steps To Reproduce
A minimal derivation that supposedly prints 5 lines.
Build with nix
$ nix build -f ./repro.nix -L [--rebuild] $ nix log -f ./repro.nix | cat
Expected behavior
Output should be the same for both commands and contain newlines
Actual behavior
The build logs do not contain new-lines
Metadata
Checklist
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: