Find a file
regnat 8d66f5f110 Make nix shell fallback to static outputs when needed
In case of pure input-addressed derivations, the build loop doesn't
guaranty that the realisations are stored in the db (if the output paths
are already there or can be substituted, the realisations won't be
registered). This caused `nix shell` to fail in some cases because it
was assuming that the realisations were always existing.

A better (but more involved) fix would probably to ensure that we always
register the realisations, but in the meantime this patches the surface
issue.

Fix #4721
2021-04-21 17:46:27 +02:00
.github Bump cachix/cachix-action from v9 to v10 2021-04-12 05:21:11 +00:00
config
contrib
doc/manual Revert "[prerequisites]: add JSON lib dependency" 2021-04-05 21:29:04 +01:00
m4
maintainers
misc
mk
nix-rust
perl
scripts
src Make nix shell fallback to static outputs when needed 2021-04-21 17:46:27 +02:00
tests Merge branch 'build-with-strictDeps' of https://github.com/hercules-ci/nix 2021-04-15 14:15:21 +02:00
.dir-locals.el
.editorconfig
.gitignore
.version
bootstrap.sh
configure.ac Drop unused tar dependency 2021-04-15 13:57:04 +02:00
COPYING
default.nix
flake.lock
flake.nix Merge branch 'build-with-strictDeps' of https://github.com/hercules-ci/nix 2021-04-15 14:15:21 +02:00
local.mk
Makefile
Makefile.config.in Drop libbz2 / zlib / lzma dependency + style fixes 2021-04-15 13:55:22 +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.