aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/language/derivations.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/language/derivations.md')
-rw-r--r--doc/manual/src/language/derivations.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/manual/src/language/derivations.md b/doc/manual/src/language/derivations.md
index 79a09122a..e4a2fe714 100644
--- a/doc/manual/src/language/derivations.md
+++ b/doc/manual/src/language/derivations.md
@@ -123,6 +123,11 @@ The builder is executed as follows:
- `NIX_STORE` is set to the path of the top-level Nix store
directory (typically, `/nix/store`).
+
+ - `NIX_ATTRS_JSON_FILE` & `NIX_ATTRS_SH_FILE` if `__structuredAttrs`
+ is set to `true` for the dervation. A detailed explanation of this
+ behavior can be found in the
+ [section about structured attrs](./advanced-attributes.md#adv-attr-structuredAttrs).
- For each output declared in `outputs`, the corresponding
environment variable is set to point to the intended path in the