Skip to content

Commit e324630

Browse files
committed
Enable JSON schema testing for derivation outputs
I figured out what the problem was: the fragment needs to start with a `/`.
1 parent d4c69c7 commit e324630

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

src/json-schema-checks/meson.build

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,19 @@ schemas = [
4646
'simple-derivation.json',
4747
],
4848
},
49-
# # Not sure how to make subschema work
50-
# {
51-
# 'stem': 'derivation',
52-
# 'schema': schema_dir / 'derivation-v3.yaml#output',
53-
# 'files' : [
54-
# 'output-caFixedFlat.json',
55-
# 'output-caFixedNAR.json',
56-
# 'output-caFixedText.json',
57-
# 'output-caFloating.json',
58-
# 'output-deferred.json',
59-
# 'output-impure.json',
60-
# 'output-inputAddressed.json',
61-
# ],
62-
# },
49+
{
50+
'stem' : 'derivation',
51+
'schema' : schema_dir / 'derivation-v3.yaml#/$defs/output',
52+
'files' : [
53+
'output-caFixedFlat.json',
54+
'output-caFixedNAR.json',
55+
'output-caFixedText.json',
56+
'output-caFloating.json',
57+
'output-deferred.json',
58+
'output-impure.json',
59+
'output-inputAddressed.json',
60+
],
61+
},
6362
{
6463
'stem' : 'deriving-path',
6564
'schema' : schema_dir / 'deriving-path-v1.yaml',

0 commit comments

Comments
 (0)