mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Introduce top-level structuredAttrs
field in JSON derivation format
Makes the behavoral change of #13263 without the underlying refactor. Hopefully this clearly safe from a perf and GC perspective, and will make it easier to benchmark #13263.
This commit is contained in:
parent
c437e27abc
commit
f8c1ac9515
9 changed files with 169 additions and 21 deletions
|
@ -91,3 +91,7 @@ is a JSON object with the following fields:
|
|||
|
||||
* `env`:
|
||||
The environment passed to the `builder`.
|
||||
|
||||
* `structuredAttrs`:
|
||||
[Strucutured Attributes](@docroot@/store/derivation/index.md#structured-attrs), only defined if the derivation contains them.
|
||||
Structured attributes are JSON, and thus embedded as-is.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue