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
Naïm Favier 15f7fa59be
unsafeDiscardReferences
Adds a new boolean structured attribute
`outputChecks.<output>.unsafeDiscardReferences` which disables scanning
an output for runtime references.

    __structuredAttrs = true;
    outputChecks.out.unsafeDiscardReferences = true;

This is useful when creating filesystem images containing their own embedded Nix
store: they are self-contained blobs of data with no runtime dependencies.

Setting this attribute requires the experimental feature
`discard-references` to be enabled.
2023-01-03 17:19:16 +01:00
.github Bump zeebe-io/backport-action from 0.0.9 to 1.0.1 2022-12-26 22:00:45 +00:00
config
contrib
doc/manual unsafeDiscardReferences 2023-01-03 17:19:16 +01:00
m4
maintainers Remove GPG-signing of releases 2022-12-06 14:00:38 +01:00
misc Merge pull request #6645 from Artturin/limitinfinity 2022-12-09 13:36:13 +01:00
mk Make ./mk/run-test.sh work by itself; add mk/debug-test.sh 2022-12-21 02:28:33 -05:00
perl
scripts Avoid poly_user_note_set twice 2022-12-14 03:03:12 +00:00
src unsafeDiscardReferences 2023-01-03 17:19:16 +01:00
tests unsafeDiscardReferences 2023-01-03 17:19:16 +01:00
.dir-locals.el
.editorconfig
.gitignore Add fish suport to installer 2022-09-13 12:56:16 -04:00
.version .version: Add newline 2022-12-07 13:39:10 +01:00
bootstrap.sh
configure.ac configure.ac: don't clobber CFLAGS=/CXXFLAGS= and allow users to pass in custom flags 2022-12-17 20:42:03 +00:00
COPYING
default.nix
docker.nix Add nobody user/group to Nix docker image 2022-11-29 10:01:46 +00:00
flake.lock flake.lock: Update 2022-12-08 17:09:50 +01:00
flake.nix Merge pull request #7367 from lheckemann/nixpkgs-22.11 2022-12-23 23:20:48 +01:00
local.mk
Makefile Merge branch 'master' into lto 2022-05-25 11:55:13 +00:00
Makefile.config.in Embed the sandbox shell into the statically linked 'nix' binary 2022-06-23 04:08:28 +02:00
precompiled-headers.h
README.md Fix link to hacking doc 2022-07-30 09:12:50 -07:00
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.