Back to Nix

Options

doc/manual/source/protocols/json/derivation/options.md

2.34.71.0 KB
Original Source

{{#include ../derivation-options-v1-fixed.md}}

Examples

Input-addressed derivations

Default options

json
{{#include ../schema/derivation-options-v1/ia/derivation-options/defaults.json}}

All options set

json
{{#include ../schema/derivation-options-v1/ia/derivation-options/all_set.json}}

Default options (structured attributes)

json
{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_defaults.json}}

All options set (structured attributes)

json
{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_all_set.json}}

Content-addressed derivations

All options set

json
{{#include ../schema/derivation-options-v1/ca/derivation-options/all_set.json}}

All options set (structured attributes)

json
{{#include ../schema/derivation-options-v1/ca/derivation-options/structuredAttrs_all_set.json}}
<!-- need to convert YAML to JSON first ## Raw Schema [JSON Schema for Derivation Options v1](schema/derivation-options-v1.json) -->