1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-12 12:01:05 +01:00

Organize some test JSON better to prevent confusion

It was not clear which of thes were JSON for derivation vs JSON for
derivation options.
This commit is contained in:
John Ericson 2025-12-05 18:57:05 -05:00
parent 0db70b8184
commit 843629f7bf
9 changed files with 23 additions and 25 deletions

View file

@ -7,25 +7,25 @@
#### Default options
```json
{{#include ../schema/derivation-options-v1/ia/defaults.json}}
{{#include ../schema/derivation-options-v1/ia/derivation-options/defaults.json}}
```
#### All options set
```json
{{#include ../schema/derivation-options-v1/ia/all_set.json}}
{{#include ../schema/derivation-options-v1/ia/derivation-options/all_set.json}}
```
#### Default options (structured attributes)
```json
{{#include ../schema/derivation-options-v1/ia/structuredAttrs_defaults.json}}
{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_defaults.json}}
```
#### All options set (structured attributes)
```json
{{#include ../schema/derivation-options-v1/ia/structuredAttrs_all_set.json}}
{{#include ../schema/derivation-options-v1/ia/derivation-options/structuredAttrs_all_set.json}}
```
### Content-addressed derivations
@ -33,13 +33,13 @@
#### All options set
```json
{{#include ../schema/derivation-options-v1/ca/all_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/structuredAttrs_all_set.json}}
{{#include ../schema/derivation-options-v1/ca/derivation-options/structuredAttrs_all_set.json}}
```
<!-- need to convert YAML to JSON first