aboutsummaryrefslogtreecommitdiff
path: root/doc/manual
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2024-08-07 10:38:39 +0000
committerGerrit Code Review <gerrit@localhost>2024-08-07 10:38:39 +0000
commit27a63db710f1b923fcc74873d70c7e0bfc4ea092 (patch)
tree73b79f063bcb4902b7a0608570400c863f62e52d /doc/manual
parent780998f4ea203444e5b07c4523449a8e4f19ecdd (diff)
parent7fc481396c69e0687e655fbf77397535960c831c (diff)
Merge "fix: warn and document when advanced attributes will have no impact due to __structuredAttrs" into main
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/src/language/advanced-attributes.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/manual/src/language/advanced-attributes.md b/doc/manual/src/language/advanced-attributes.md
index e9006a3ae..ee93f5672 100644
--- a/doc/manual/src/language/advanced-attributes.md
+++ b/doc/manual/src/language/advanced-attributes.md
@@ -292,6 +292,12 @@ Derivations can declare some infrequently used optional attributes.
(associative) arrays. For example, the attribute `hardening.format = true`
ends up as the Bash associative array element `${hardening[format]}`.
+ > **Warning**
+ >
+ > If set to `true`, other advanced attributes such as [`allowedReferences`](#adv-attr-allowedReferences), [`allowedReferences`](#adv-attr-allowedReferences), [`allowedRequisites`](#adv-attr-allowedRequisites),
+ [`disallowedReferences`](#adv-attr-disallowedReferences) and [`disallowedRequisites`](#adv-attr-disallowedRequisites), maxSize, and maxClosureSize.
+ will have no effect.
+
- [`outputChecks`]{#adv-attr-outputChecks}\
When using [structured attributes](#adv-attr-structuredAttrs), the `outputChecks`
attribute allows defining checks per-output.