forked from lix-project/lix
6a67556f71
check that the references of the output of a derivation are in the specified set. For instance, allowedReferences = []; specifies that the output cannot have any references. (This is useful, for instance, for the generation of bootstrap binaries for stdenv-linux, which must not have any references for purity). It could also be used to guard against undesired runtime dependencies, e.g., {gcc, dynlib}: derivation { ... allowedReferences = [dynlib]; } says that the output can refer to the path of `dynlib' but not `gcc'. A `forbiddedReferences' attribute would be more useful for this, though. |
||
---|---|---|
.. | ||
build.cc | ||
build.hh | ||
db.cc | ||
db.hh | ||
derivations-ast.def | ||
derivations.cc | ||
derivations.hh | ||
gc.cc | ||
gc.hh | ||
globals.cc | ||
globals.hh | ||
Makefile.am | ||
misc.cc | ||
misc.hh | ||
pathlocks.cc | ||
pathlocks.hh | ||
references.cc | ||
references.hh | ||
store.cc | ||
store.hh | ||
test-builder-1.sh | ||
test-builder-2.sh |