Staging environment for Lix release engineering scripts
Find a file
Eelco Dolstra 90fe1dfd2f Register flake source trees as GC roots
This ensures that flakes don't get garbage-collected, which is
important to get nix-channel-like behaviour.

For example, running

  $ nix build hydra:

will create a GC root

  ~/.cache/nix/flake-closures/hydra -> /nix/store/xarfiqcwa4w8r4qpz1a769xxs8c3phgn-flake-closure

where the contents/references of the linked file in the store are the
flake source trees used by the 'hydra' flake:

  /nix/store/n6d5f5lkpfjbmkyby0nlg8y1wbkmbc7i-source
  /nix/store/vbkg4zy1qd29fnhflsv9k2j9jnbqd5m2-source
  /nix/store/z46xni7d47s5wk694359mq9ay353ar94-source

Note that this in itself is not enough to allow offline use; the
fetcher for the flakeref (e.g. fetchGit or downloadCached) must not
fail if it cannot fetch the latest version of the file, so long as it
knows a cached version.

Issue #2868.
2019-05-23 23:53:25 +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 nix: Enable pure mode by default 2019-02-12 20:35:03 +01:00
doc Start of flake documentation 2019-05-15 20:58:47 +02:00
maintainers Fix release script 2019-04-15 19:17:17 +02:00
misc nix-daemon: add variable to disable fork safety 2019-02-09 20:35:30 +01:00
mk Support --disable-shared flag. 2019-02-13 00:03:10 -05:00
perl perl/configure.ac: fix for new version location too 2019-03-25 09:18:30 +01:00
scripts nix-profile: Add all channels to $NIX_PATH 2019-05-15 14:30:09 +02:00
src Register flake source trees as GC roots 2019-05-23 23:53:25 +02:00
tests Register flake source trees as GC roots 2019-05-23 23:53:25 +02:00
.dir-locals.el Add .dir-locals.el for Emacs 2016-01-28 11:12:04 +01:00
.editorconfig Add .editorconfig 2017-06-05 22:57:28 +01:00
.gitignore Move flake template into a separate file 2019-04-08 23:39:38 +02:00
.travis.yml Test the installer 2017-07-14 12:11:04 -04:00
.version version -> .version, avoid conflict with C++20 <version> 2019-03-25 09:18:30 +01:00
bootstrap.sh bootstrap: Simplify & make more robust. 2011-09-06 12:11:05 +00:00
configure.ac Add basic flake tests 2019-05-07 23:32:09 +02:00
COPYING * Change this to LGPL to keep the government happy. 2006-04-25 16:41:06 +00:00
flake.lock Update flake.lock 2019-05-09 15:08:09 +02:00
flake.nix nix dev-shell: Use 'provides.devShell' by default 2019-05-02 21:10:13 +02:00
local.mk Fetch the flake registry from the NixOS/flake-registry repo 2019-05-22 22:56:46 +02:00
Makefile Merge all nix-* binaries into nix 2018-10-26 12:54:00 +02:00
Makefile.config.in Add basic flake tests 2019-05-07 23:32:09 +02:00
nix.spec.in Attempt to fix the RPM build 2018-07-31 14:03:19 +02:00
README.md Fix minor grammatical nitpick ("it's" vs. "its") in README.md. 2017-03-22 10:11:23 -04:00
release-common.nix Add basic flake tests 2019-05-07 23:32:09 +02:00
release.nix Hack to fix tests.evalNixpkgs 2019-05-11 01:48:33 +02:00
shell.nix nix dev-shell: Use 'provides.devShell' by default 2019-05-02 21:10:13 +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.