about summary refs log tree commit diff
path: root/tests/dependencies.builder2.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-12-11T18·57+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-12-11T18·57+0000
commitac5478eb525f85e560d822ab3b5cb6ccb664d56e (patch)
tree261a1751ef2cc93cb53cf8009796953779f51f36 /tests/dependencies.builder2.sh
parent652817046b2f999e29de8109fce9c61b5b18d22c (diff)
* Don't provide the whole Nix store in the chroot, but only the
  closure of the inputs.  This really enforces that there can't be any
  undeclared dependencies on paths in the store.  This is done by
  creating a fake Nix store and creating bind-mounts or hard-links in
  the fake store for all paths in the closure.  After the build, the
  build output is moved from the fake store to the real store.  TODO:
  the chroot has to be on the same filesystem as the Nix store for
  this to work, but this isn't enforced yet.  (I.e. it only works
  currently if /tmp is on the same FS as /nix/store.)

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