nix-gh/src
Eelco Dolstra b9124a5c33 Support having /nix/store as a read-only bind mount
It turns out that the immutable bit doesn't work all that well.  A
better way is to make the entire Nix store a read-only bind mount,
i.e. by doing

  $ mount --bind /nix/store /nix/store
  $ mount -o remount,ro,bind /nix/store

(This would typically done in an early boot script, before anything
from /nix/store is used.)

Since Nix needs to be able to write to the Nix store, it now detects
if /nix/store is a read-only bind mount and then makes it writable in
a private mount namespace.
2012-09-19 15:45:29 -04:00
..
bin2c * Sync with the trunk. 2010-04-20 09:20:29 +00:00
boost * Install some headers in the right location. 2009-03-05 14:57:50 +00:00
bsdiff-4.3 Drop the externals directory 2012-03-18 23:54:57 +01:00
libexpr Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
libmain Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
libstore Support having /nix/store as a read-only bind mount 2012-09-19 15:45:29 -04:00
libutil Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
nix-env nix-env --delete-generations: Support --dry-run flag 2012-09-13 18:05:04 -04:00
nix-hash * Move parseHash16or32 into libutil, and use in nix-hash. 2011-12-02 11:47:06 +00:00
nix-instantiate Make "nix-instantiate -" interruptible 2012-08-28 11:47:26 -04:00
nix-log2xml * Emit warning='1' or error='1' attributes for lines marked as 2010-03-05 12:54:58 +00:00
nix-setuid-helper Templatise tokenizeString() 2012-09-19 15:43:23 -04:00
nix-store Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
nix-worker Merge branch 'master' into no-manifests 2012-08-27 11:09:07 -04:00
Makefile.am * Drop the dependency on the ATerm library. 2010-04-19 14:51:58 +00:00