Skip to content

Commit b5625de

Browse files
committed
Replace jsonschema-cli with check-jsonschema
jsonschema-cli is deprecated and will be removed in the future. The recommended replacement is check-jsonschema.
1 parent 31c32fb commit b5625de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118

119119
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
120120
deploy-schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
121-
${final.python3.pkgs.jsonschema}/bin/jsonschema -i ${final.writeText "deploy.json" (builtins.toJSON deploy)} ${./interface.json} && touch $out
121+
${final.check-jsonschema}/bin/check-jsonschema --schemafile ${./interface.json} ${final.writeText "deploy.json" (builtins.toJSON deploy)} && touch $out
122122
'';
123123

124124
deploy-activate = deploy:

0 commit comments

Comments
 (0)