Skip to content

Commit

Permalink
Merge pull request #234 from fd/master
Browse files Browse the repository at this point in the history
Replace jsonschema-cli with check-jsonschema
  • Loading branch information
rvem authored Sep 18, 2023
2 parents 31c32fb + b5625de commit 57d5071
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 57d5071

Please sign in to comment.