Find a file
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
.github speed up CI 2020-08-30 22:52:34 +02:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
contrib function-trace: always show the trace 2019-09-18 23:23:21 +02:00
corepkgs Remove corepkgs/config.nix 2020-09-17 10:42:51 +02:00
doc/manual nix-prefetch-url: Add --executable flag 2020-09-18 19:09:45 +03:00
m4 autoconf: Fix C++17 detection not working on Ubuntu 16.04. 2019-07-03 04:32:25 +02:00
maintainers set Content-Type to "text/plain" for install script 2020-08-20 13:21:22 +02:00
misc Fix the nix-daemon Mac OS SSL CA cert 2020-09-16 17:56:43 +01:00
mk Disable precompiled headers in 'nix develop' 2020-09-21 13:30:05 +02:00
nix-rust make check: Run unit tests 2020-05-08 11:49:40 +02:00
perl Remove corepkgs/config.nix 2020-09-17 10:42:51 +02:00
scripts Merge pull request #3788 from crinklywrappr/master 2020-07-31 16:44:26 +02:00
src libmain/progress-bar: don't trim whitespace on the left 2020-09-26 17:38:11 +02:00
tests Test whether build/repair results are read-only 2020-09-23 19:09:58 +02:00
.dir-locals.el .dir-locals.el: Set c-block-comment-prefix 2020-07-10 11:21:06 +02:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Remove corepkgs/config.nix 2020-09-17 10:42:51 +02:00
.version Bump version to 3.0 2020-07-28 13:18:27 +02:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac Use mdbook 2020-07-23 18:26:48 +02:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
default.nix Simplify shell.nix and default.nix 2020-06-17 19:21:46 +02:00
flake.lock Update lowdown version 2020-09-21 13:11:31 +02:00
flake.nix Use gold as the linker on Linux 2020-09-23 16:10:31 +02:00
local.mk Remove global -I flags 2020-03-30 15:30:19 +02:00
Makefile Disable FORTIFY_SOURCE when compiling without optims 2020-09-22 10:04:25 +02:00
Makefile.config.in Remove references to xmllint 2020-07-23 18:26:48 +02:00
precompiled-headers.h Config: Use nlohmann/json 2020-08-20 11:02:16 +02:00
README.md Fix a typo (#4073) 2020-09-26 11:33:04 +00:00
shell.nix Add back flake-compat shell.nix 2020-07-17 14:58:59 +00:00

Nix

Open Collective supporters Test

Nix is a powerful package manager for Linux and other Unix systems that makes package management reliable and reproducible. Please refer to the Nix manual for more details.

Installation

On Linux and macOS the easiest way to install Nix is to run the following shell command (as a user other than root):

$ curl -L https://nixos.org/nix/install | sh

Information on additional installation methods is available on the Nix download page.

Building And Developing

See our Hacking guide in our manual for instruction on how to build nix from source with nix-build or how to get a development environment.

Additional Resources

License

Nix is released under the LGPL v2.1.