about summary refs log tree commit diff
path: root/tests/substitutes.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-10-27T00·46+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-10-27T00·46+0000
commit9397cd30c8a6ffd65fc3b85985ea59ecfb72672b (patch)
treea3382c4031b84e518e6d8a133a98cdc84ba8e3d1 /tests/substitutes.sh
parent0b4ed64d295316146fc4de8a5a2e971b771058b8 (diff)
* Support for doing builds in a chroot under Linux. The builder is
  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...)

Diffstat (limited to 'tests/substitutes.sh')
0 files changed, 0 insertions, 0 deletions