Revision 9397cd30c8a6ffd65fc3b85985ea59ecfb72672b authored by Eelco Dolstra on 27 October 2007, 00:46:59 UTC, committed by Eelco Dolstra on 27 October 2007, 00:46:59 UTC
  executed in a chroot that contains just the Nix store, the temporary
  build directory, and a configurable set of additional directories
  (/dev and /proc by default).  This allows a bit more purity
  enforcement: hidden build-time dependencies on directories such as
  /usr or /nix/var/nix/profiles are no longer possible.  As an added
  benefit, accidental network downloads (cf. NIXPKGS-52) are prevented
  as well (because files such as /etc/resolv.conf are not available in
  the chroot).

  However the usefulness of chroots is diminished by the fact that
  many builders depend on /bin/sh, so you need /bin in the list of
  additional directories.  (And then on non-NixOS you need /lib as
  well...)

1 parent 0b4ed64
History
File Mode Size
blacklisting
corepkgs
doc
externals
make
misc
scripts
src
tests
AUTHORS -rw-r--r-- 149 bytes
COPYING -rw-r--r-- 25.8 KB
ChangeLog -rw-r--r-- 0 bytes
INSTALL -rw-r--r-- 9.0 KB
Makefile.am -rw-r--r-- 1.9 KB
README -rw-r--r-- 336 bytes
aterm-gc.supp -rw-r--r-- 3.1 KB
bootstrap.sh -rwxr-xr-x 106 bytes
configure.ac -rw-r--r-- 7.6 KB
nix.conf.example -rw-r--r-- 6.2 KB
nix.spec.in -rw-r--r-- 2.1 KB
substitute.mk -rw-r--r-- 1007 bytes

README

back to top