A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community
Find a file
Eelco Dolstra 925b975224 Embed the sandbox shell into the statically linked 'nix' binary
With this, Nix will write a copy of the sandbox shell to /bin/sh in
the sandbox rather than bind-mounting it from the host filesystem.
This makes /bin/sh work out of the box with nix-static, i.e. you no
longer get

  /nix/store/qa36xhc5gpf42l3z1a8m1lysi40l9p7s-bootstrap-stage4-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
2022-06-23 04:08:28 +02:00
.github
config
contrib
doc/manual
m4
maintainers
misc
mk Fix incremental static builds 2022-06-22 17:53:58 +02:00
perl
scripts
src Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
tests Enable/fix tests in nix-static 2022-06-22 23:33:15 +02:00
.dir-locals.el
.editorconfig
.gitignore
.version
boehmgc-coroutine-sp-fallback.diff
bootstrap.sh
configure.ac Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
COPYING
default.nix
docker.nix
flake.lock
flake.nix Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
local.mk
Makefile
Makefile.config.in Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
precompiled-headers.h
README.md
shell.nix

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.