Eelco Dolstra f5fa3de759 Run builds in their own cgroup
Also, run builds in a cgroup namespace (ensuring /proc/self/cgroup
doesn't leak information about the outside world) and mount /sys. This
enables running systemd-nspawn and thus NixOS containers in a Nix
build.
2020-07-06 13:50:33 +02:00
2018-08-13 20:00:17 +00:00
2020-07-03 09:20:01 +02:00
2020-05-08 11:49:40 +02:00
2020-07-06 13:50:33 +02:00
2017-06-05 22:57:28 +01:00
2019-09-04 15:59:33 +02:00
2020-05-08 12:09:37 +02:00
2020-03-30 15:30:19 +02:00
2020-06-24 13:10:41 -06:00
2020-05-08 12:09:37 +02:00
2020-05-01 11:47:26 +02:00
2020-06-16 14:33:03 +02:00
2020-06-17 10:02:33 +02: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

Building Nix

You can build Nix using one of the targets provided by release.nix:

$ nix-build ./release.nix -A build.aarch64-linux
$ nix-build ./release.nix -A build.x86_64-darwin
$ nix-build ./release.nix -A build.i686-linux
$ nix-build ./release.nix -A build.x86_64-linux

Development Environment

You can use the provided shell.nix to get a working development environment:

$ nix-shell
$ ./bootstrap.sh
$ ./configure
$ make

Additional Resources

License

Nix is released under the LGPL v2.1.

S
Description
Working fork of Lix - carries the adaptive load-aware build-remote patch. Upstream: gerrit.lix.systems
Readme
92 MiB
Languages
C++ 74.9%
Python 11.7%
Nix 6.1%
Shell 3.6%
Meson 2%
Other 1.6%