mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 22:12:43 +01:00
49 lines
940 B
Markdown
49 lines
940 B
Markdown
{{#include derivation-options-v1-fixed.md}}
|
|
|
|
## Examples
|
|
|
|
### Input-addressed derivations
|
|
|
|
#### Default options
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ia/defaults.json}}
|
|
```
|
|
|
|
#### All options set
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ia/all_set.json}}
|
|
```
|
|
|
|
#### Default options (structured attributes)
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ia/structuredAttrs_defaults.json}}
|
|
```
|
|
|
|
#### All options set (structured attributes)
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ia/structuredAttrs_all_set.json}}
|
|
```
|
|
|
|
### Content-addressed derivations
|
|
|
|
#### All options set
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ca/all_set.json}}
|
|
```
|
|
|
|
#### All options set (structured attributes)
|
|
|
|
```json
|
|
{{#include schema/derivation-options-v1/ca/structuredAttrs_all_set.json}}
|
|
```
|
|
|
|
<!-- need to convert YAML to JSON first
|
|
## Raw Schema
|
|
|
|
[JSON Schema for Derivation Options v1](schema/derivation-options-v1.json)
|
|
-->
|