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
Alexander Bantyev 2664a216e5
flake.cc: computeLocks: Only verify overrides when they could change
When we check for disappeared overrides, we can get "false positives"
for follows and overrides which are defined in the dependencies of the
flake we are locking, since they are not parsed by
parseFlakeInputs. However, at that point we already know that the
overrides couldn't have possible been changed if the input itself
hasn't changed (since we check that oldLock->originalRef == *input.ref
for the input's parent). So, to prevent this, only perform this check
when it was possible that the flake changed (e.g. the flake we're
locking, or a new input, or the input has changed and mustRefetch ==
true).
2021-12-28 15:30:06 +03:00
.github add pull_request_template.md 2021-12-09 14:31:34 -05:00
config
contrib
doc/manual Update release notes 2021-12-21 14:19:21 +01:00
m4
maintainers Update release script 2021-11-02 11:53:25 +01:00
misc Merge pull request #5820 from ncfavier/completion-nospace 2021-12-22 17:55:05 +01:00
mk mk/libraries.mk: fix trace-ld and trace-ar expansions 2021-10-08 22:59:42 +01:00
nix-rust
perl Document libsodium, which is now mandatory, as a dependency 2021-11-27 23:11:11 +01:00
scripts Merge pull request #5521 from abathur/clearly_mark_validation_step 2021-12-08 20:04:03 +00:00
src flake.cc: computeLocks: Only verify overrides when they could change 2021-12-28 15:30:06 +03:00
tests flake.cc: computeLocks: Only verify overrides when they could change 2021-12-28 15:30:06 +03:00
.dir-locals.el
.editorconfig
.gitignore Remove nix-reduce-build and nix-http-export 2021-11-18 21:17:57 +01:00
.version Bump version 2021-12-14 00:01:42 +01:00
boehmgc-coroutine-sp-fallback.diff Fix leaking pthread_attr_t 2021-11-03 22:54:16 +01:00
bootstrap.sh
configure.ac Merge pull request #5678 from t184256/document-libsodium 2021-11-29 11:11:10 +01:00
COPYING
default.nix
docker.nix Add cacert to /etc/ssl/certs in the docker image 2021-12-21 21:17:29 +01:00
flake.lock Revert "update flake.nix to 21.11" 2021-12-15 13:49:05 +01:00
flake.nix Make bash completion for 'nix' work in a devshell 2021-12-22 13:21:45 +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.