diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-19T16·09+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-10-19T16·09+0000 |
commit | 6a67556f7192108d612560992e97a14b0fe16a22 (patch) | |
tree | 2ca8124849c212d018f8fc6865b3bec696260717 /scripts/maintenance | |
parent | daa8f85fcd3d5d7c48a51305818e05bee866b936 (diff) |
* Special derivation attribute `allowedReferences' that causes Nix to
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.
Diffstat (limited to 'scripts/maintenance')
0 files changed, 0 insertions, 0 deletions