A modern, delicious implementation of the Nix package manager, focused on correctness, usability, and growth — and committed to doing right by its community https://lix.systems
Find a file
Eelco Dolstra 3cd15c5b1f
Per-output reference and closure size checks
In structured-attributes derivations, you can now specify per-output
checks such as:

  outputChecks."out" = {
    # The closure of 'out' must not be larger than 256 MiB.
    maxClosureSize = 256 * 1024 * 1024;

    # It must not refer to C compiler or to the 'dev' output.
    disallowedRequisites = [ stdenv.cc "dev" ];
  };

  outputChecks."dev" = {
    # The 'dev' output must not be larger than 128 KiB.
    maxSize = 128 * 1024;
  };

Also fixed a bug in allowedRequisites that caused it to ignore
self-references.
2018-10-23 01:29:16 +02:00
.github Rename 1.12 -> 2.0 2018-01-31 18:58:45 +01:00
config update config/config.{sub,guess} 2018-08-13 20:00:17 +00:00
corepkgs Make <nix/buildenv.nix> a builtin builder 2018-03-20 17:28:09 +01:00
doc/manual Docs: update fixed output hashes 2018-10-04 02:37:15 +00:00
maintainers upload-release.pl: Handle prerelease versions 2018-08-30 15:21:58 +02:00
misc docker: move the docker file to https://github.com/NixOS/docker 2018-06-21 19:13:04 +02:00
mk Fix missing $DESTDIR when installing programs 2018-04-08 18:22:10 -07:00
perl Modularize config settings 2018-05-30 13:28:01 +02:00
scripts install script: remove unportable command check, fixup errant escape 2018-10-16 10:22:36 -04:00
src Per-output reference and closure size checks 2018-10-23 01:29:16 +02:00
tests Per-output reference and closure size checks 2018-10-23 01:29:16 +02:00
.dir-locals.el
.editorconfig
.gitignore Make <nix/buildenv.nix> a builtin builder 2018-03-20 17:28:09 +01:00
.travis.yml Test the installer 2017-07-14 12:11:04 -04:00
bootstrap.sh
configure.ac docs: change expired bzip2.org to archive.org 2018-09-03 17:57:13 +02:00
COPYING
local.mk Use boost::format from the boost package 2018-03-14 19:24:04 +01:00
Makefile Merge pull request #1997 from dtzWill/fix/cxx14-std-consistency 2018-03-20 18:29:05 +01:00
Makefile.config.in Require libbrotli 2018-08-06 14:06:54 +02:00
nix.spec.in Attempt to fix the RPM build 2018-07-31 14:03:19 +02:00
README.md
release-common.nix Drop all references to --disable-init-state 2018-08-20 01:51:23 +03:00
release.nix bump base nixpkgs used by default 18.03 -> 18.09 2018-09-26 15:37:13 -05:00
shell.nix Fix build on non-x86_64-linux 2018-03-19 11:57:34 +01:00
version Bump version 2018-09-02 22:12:00 +02:00

Nix, the purely functional package manager

Nix is a new take on package management that is fairly unique. Because of its purity aspects, a lot of issues found in traditional package managers don't appear with Nix.

To find out more about the tool, usage and installation instructions, please read the manual, which is available on the Nix website at http://nixos.org/nix/manual.

Contributing

Take a look at the Hacking Section of the manual. It helps you to get started with building Nix from source.

License

Nix is released under the LGPL v2.1

This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit.