@philiptaron's lix workspace
Find a file
Eelco Dolstra 1c208f2b7e Allow regular files as GC roots
If a root is a regular file, then its name must denote a store
path. For instance, the existence of the file

  /nix/var/nix/gcroots/per-user/eelco/hydra-roots/wzc3cy1wwwd6d0dgxpa77ijr1yp50s6v-libxml2-2.7.7

would cause

  /nix/store/wzc3cy1wwwd6d0dgxpa77ijr1yp50s6v-libxml2-2.7.7

to be a root.

This is useful because it involves less I/O (no need for a readlink()
call) and takes up less disk space (the symlink target typically takes
up a full disk block, while directory entries are packed more
efficiently). This is particularly important for hydra.nixos.org,
which has hundreds of thousands of roots, and where reading the roots
can take 25 minutes.
2014-08-01 17:14:28 +02:00
config
corepkgs Pass *_proxy vars to bootstrap fetchurl 2014-07-16 11:21:45 +02:00
doc nix-copy-closure: Drop --bzip2, --xz, --show-progress 2014-07-24 17:11:54 +02:00
misc Install systemd and Upstart stuff only on Linux 2014-07-16 11:53:47 +02:00
mk
perl nix-copy-closure: Drop --bzip2, --xz, --show-progress 2014-07-24 17:11:54 +02:00
scripts install-nix-from-closure.sh: Install cacert 2014-07-29 17:12:15 +02:00
src Allow regular files as GC roots 2014-08-01 17:14:28 +02:00
tests Rename nixPath to __nixPath 2014-07-30 11:28:39 +02:00
.gitignore
bootstrap.sh
configure.ac
COPYING
dev-shell Make dev-shell script work on Darwin 2014-07-16 11:53:47 +02:00
INSTALL
local.mk make clean: Remove Makefile.config 2014-07-30 11:36:28 +02:00
Makefile
Makefile.config.in
nix.spec.in
README
release.nix
version

Nix is a purely functional package manager.  For installation and
usage instructions, please read the manual, which can be found in
`docs/manual/manual.html', and additionally at the Nix website at
<http://nixos.org/>.


Acknowledgments

This product includes software developed by the OpenSSL Project for
use in the OpenSSL Toolkit (http://www.OpenSSL.org/).