Replace jsonschema-cli with check-jsonschema

jsonschema-cli is deprecated and will be removed in the future.
The recommended replacement is check-jsonschema.
This commit is contained in:
Simon Menke 2023-09-17 10:34:25 +02:00
parent 31c32fb295
commit b5625de9c9
No known key found for this signature in database

View File

@ -118,7 +118,7 @@
deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) {
deploy-schema = deploy: final.runCommand "jsonschema-deploy-system" { } ''
${final.python3.pkgs.jsonschema}/bin/jsonschema -i ${final.writeText "deploy.json" (builtins.toJSON deploy)} ${./interface.json} && touch $out
${final.check-jsonschema}/bin/check-jsonschema --schemafile ${./interface.json} ${final.writeText "deploy.json" (builtins.toJSON deploy)} && touch $out
'';
deploy-activate = deploy: