f8cd904e05
This is because the contents of these symlinks are not incorporated into the hashes of derivations, and could therefore cause a mismatch between the build system and the target system. E.g., if `/nix/store' is a symlink to `/data/nix/store', then a builder could expand this path and store the result. If on the target system `/nix/store' is not a symlink, or is a symlink that points somewhere else, we have a dangling pointer. The trigger for this change is that gcc 3.3.3 does exactly that (it applies realpath() to some files, such as libraries, which causes our impurity checker to bail out.) An annoying side-effect of this change is that it makes it harder to move the Nix store to a different file system. On Linux, bind mounts can be used instead of symlink for this purpose (e.g., `mount -o bind /data/nix/store /nix/store'). |
||
---|---|---|
.. | ||
archive.cc | ||
archive.hh | ||
aterm.cc | ||
aterm.hh | ||
hash.cc | ||
hash.hh | ||
Makefile.am | ||
md5.c | ||
md5.h | ||
test-aterm.cc | ||
util.cc | ||
util.hh |