diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-11T18·57+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-11T18·57+0000 |
commit | ac5478eb525f85e560d822ab3b5cb6ccb664d56e (patch) | |
tree | 261a1751ef2cc93cb53cf8009796953779f51f36 /release.nix | |
parent | 652817046b2f999e29de8109fce9c61b5b18d22c (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 'release.nix')
0 files changed, 0 insertions, 0 deletions