nix-super/src
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
..
boost boost::shared_ptr -> std::shared_ptr 2014-03-30 00:49:23 +01:00
bsdiff-4.3 Fix "make dist" 2014-02-01 14:38:12 +01:00
download-via-ssh nix-daemon: Pass on the user's $SSH_AUTH_SOCK to the SSH substituter 2014-07-25 18:02:48 +02:00
libexpr Rename nixPath to __nixPath 2014-07-30 11:28:39 +02:00
libmain Restore default SIGPIPE handler before invoking ‘man’ 2014-07-31 10:31:17 +02:00
libstore Allow regular files as GC roots 2014-08-01 17:14:28 +02:00
libutil Restore default SIGPIPE handler before invoking ‘man’ 2014-07-31 10:31:17 +02:00
nix-daemon Remove some dead code 2014-07-24 00:00:53 +02:00
nix-env nix-env -qa --json: Generate valid JSON even if there are invalid meta attrs 2014-06-02 17:58:43 +02:00
nix-hash Remove Automakefiles 2014-02-01 13:54:38 +01:00
nix-instantiate Style fix 2014-06-27 11:36:23 +02:00
nix-log2xml Remove Automakefiles 2014-02-01 13:54:38 +01:00
nix-store nix-copy-closure: Drop --bzip2, --xz, --show-progress 2014-07-24 17:11:54 +02:00