From 81d13854375cfae08bac742879bd18dcbd28c5da Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Thu, 26 Jul 2018 18:14:50 +0200 Subject: [PATCH] add manual entries for disallowedRequisites and disallowedReferences --- .../expressions/advanced-attributes.xml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/manual/expressions/advanced-attributes.xml b/doc/manual/expressions/advanced-attributes.xml index dfd013b5c..9422e82ff 100644 --- a/doc/manual/expressions/advanced-attributes.xml +++ b/doc/manual/expressions/advanced-attributes.xml @@ -50,6 +50,40 @@ allowedRequisites = [ foobar ]; + disallowedReferences + + The optional attribute + disallowedReferences specifies a list of illegal + references (dependencies) of the output of the builder. For + example, + + +disallowedReferences = [ foo ]; + + + enforces that the output of a derivation cannot have a direct runtime + dependencies on the derivation foo. + + + + + disallowedRequisites + + This attribute is similar to + disallowedReferences, but it specifies illegal + requisites for the whole closure, so all the dependencies + recursively. For example, + + +disallowedRequisites = [ foobar ]; + + + enforces that the output of a derivation cannot have any + runtime dependency on foobar or any other derivation + depending recursively on foobar. + + + exportReferencesGraph