1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

JSON Schema for DerivedPath

Note that this is "deriving path" in the manual -- the great sed of the
code base to bring it in sync has yet to happen yet.
This commit is contained in:
John Ericson 2025-10-23 17:11:37 -04:00
parent 925c0fa4a2
commit 8d338c9234
9 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1 @@
../../src/libstore-tests/data/derived-path

View file

@ -52,6 +52,15 @@ schemas = [
# 'output-inputAddressed.json',
# ],
# },
{
'stem' : 'deriving-path',
'schema' : schema_dir / 'deriving-path-v1.yaml',
'files' : [
'single_opaque.json',
'single_built.json',
'single_built_built.json',
],
},
]
# Validate each example against the schema

View file

@ -22,6 +22,7 @@ mkMesonDerivation (finalAttrs: {
../../doc/manual/source/protocols/json/schema
../../src/libutil-tests/data/hash
../../src/libstore-tests/data/derivation
../../src/libstore-tests/data/derived-path
./.
];