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
regnat c87267c2a4 Store the final drv outputs in memory when building remotely
The `DerivationGoal` has a variable storing the “final” derivation
output paths that is used (amongst other things) to fill the environment
for the post build hook. However this variable wasn't set when the
build-hook is used, causing a crash when both hooks are used together.

Fix this by setting this variable (from the informations in the db) after a run
of the post build hook.
2020-12-09 10:45:12 +01:00
.github Bump cachix/install-nix-action from v11 to v12 (#4237) 2020-11-09 23:21:55 +00:00
config Update config.guess for proper arm64 macOS detection 2020-12-02 19:14:34 -06:00
contrib
corepkgs fix typo in comment in fetchurl.nix 2020-11-18 11:20:50 +07:00
doc/manual Make make install less noisy 2020-12-04 14:50:47 +01:00
m4
maintainers
misc
mk Remove 'dist' target 2020-12-03 16:17:58 +01:00
nix-rust Remove 'dist' target 2020-12-03 16:17:58 +01:00
perl Return signatures in Perl path info 2020-11-21 22:06:15 +00:00
scripts Use com.apple.oahd.plist for rosetta 2 detection 2020-12-04 13:28:09 -06:00
src Store the final drv outputs in memory when building remotely 2020-12-09 10:45:12 +01:00
tests Test the post-build-hook with remote builders 2020-12-09 10:45:12 +01:00
.dir-locals.el
.editorconfig
.gitignore Generate separate manpages for each nix subcommand 2020-12-02 23:23:23 +01:00
.version
bootstrap.sh
configure.ac Fix compatibility with newer AWS SDKs 2020-12-04 19:36:09 +01:00
COPYING
default.nix
flake.lock
flake.nix Include static "nix" binary in Hydra build products 2020-12-03 18:05:18 -06:00
local.mk Remove 'dist' target 2020-12-03 16:17:58 +01:00
Makefile
Makefile.config.in
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.