lix/src/libmain
Maximilian Bosch a76fb07314
libmain/progress-bar: don't trim whitespace on the left
When running `nix build -L` it can be fairly hard to read the output if
the build program intentionally renders whitespace on the left. A
typical example is `g++` displaying compilation errors.

With this patch, the whitespace on the left is retained to make the log
more readable:

```
foo> no configure script, doing nothing
foo> building
foo> foobar.cc: In function 'int main()':
foo> foobar.cc:5:5: error: 'wrong_func' was not declared in this scope
foo>     5 |     wrong_func(1);
foo>       |     ^~~~~~~~~~
error: --- Error ------------------------------------------------------------------------------------- nix
error: --- Error --- nix-daemon
builder for '/nix/store/i1q76cw6cyh91raaqg5p5isd1l2x6rx2-foo-1.0.drv' failed with exit code 1
```
2020-09-26 17:38:11 +02:00
..
common-args.cc Change option descriptions to Markdown 2020-08-19 14:21:27 +02:00
common-args.hh Factor out --json 2017-04-24 14:21:36 +02:00
local.mk Remove global -I flags 2020-03-30 15:30:19 +02:00
loggers.cc Merge remote-tracking branch 'origin/master' into flakes 2020-07-06 16:40:10 +02:00
loggers.hh Style fixes 2020-06-11 15:39:08 +02:00
nix-main.pc.in pkg-config files: Use c++17 2019-03-14 14:11:12 +01:00
progress-bar.cc libmain/progress-bar: don't trim whitespace on the left 2020-09-26 17:38:11 +02:00
progress-bar.hh Style fixes 2020-06-11 15:39:08 +02:00
shared.cc Merge remote-tracking branch 'origin/master' into markdown 2020-07-31 16:07:04 +02:00
shared.hh unsigned long long -> uint64_t 2020-07-30 13:34:04 +02:00
stack.cc fixes to merged code 2020-05-11 15:52:15 -06:00