-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
--print-build-logs|-L ignores empty lines #11991
Copy link
Copy link
Closed
Labels
bugderivation-buildThe process of building an individual derivation (see also sandbox label)The process of building an individual derivation (see also sandbox label)good first issueQuick win for first-time contributorsQuick win for first-time contributors
Metadata
Metadata
Assignees
Labels
bugderivation-buildThe process of building an individual derivation (see also sandbox label)The process of building an individual derivation (see also sandbox label)good first issueQuick win for first-time contributorsQuick win for first-time contributors
Fields
Give feedbackNo fields configured for issues without a type.
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 | catExpected 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.