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
Andreas Rammhold 90d8178009
Don't move the arguments of the primOp
Moving arguments of the primOp into the registration structure makes it
impossible to initialize a second EvalState with the correct primOp
registration. It will end up registering all those "RegisterPrimOp"'s
with an arity of zero on all but the 2nd instance of the EvalState.

Not moving the memory will add a tiny bit of memory overhead during the
eval since we need a copy of all the argument lists of all the primOp's.
The overhead shouldn't be too bad as it is static (based on the amonut
of registered operations) and only occurs once during the interpreter
startup.
2021-11-28 02:06:47 +01:00
.github Bump cachix/install-nix-action from 15 to 16 2021-11-22 22:01:42 +00:00
config
contrib
doc/manual Update names 2021-11-25 17:09:11 +01:00
m4
maintainers
misc
mk
nix-rust
perl Add missing Nix::Store import to fix nix-serve StoreDir. 2021-11-23 12:56:19 +00:00
scripts Apply some shellcheck suggestions 2021-11-19 15:18:10 +01:00
src Don't move the arguments of the primOp 2021-11-28 02:06:47 +01:00
tests Make nix-shell work when nixpkgs is content-addressed 2021-11-26 09:56:48 +01:00
.dir-locals.el
.editorconfig
.gitignore Remove nix-reduce-build and nix-http-export 2021-11-18 21:17:57 +01:00
.version
boehmgc-coroutine-sp-fallback.diff
bootstrap.sh
configure.ac
COPYING
default.nix
docker.nix Make docker.nix match Nixpkgs's idioms 2021-11-16 11:04:25 -05:00
flake.lock
flake.nix flake.nix: Only have checks.*.dockerImage on supported systems 2021-11-25 14:45:47 +01:00
local.mk
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.