Skip to content

Commit

Permalink
Replace jsonschema-cli with check-jsonschema
Browse files Browse the repository at this point in the history
jsonschema-cli is deprecated and will be removed in the future.
The recommended replacement is check-jsonschema.
  • Loading branch information
fd committed Sep 17, 2023
1 parent 31c32fb commit b5625de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b5625de

Please sign in to comment.