Skip to content

Commit 57d5071

Browse files
authored
Merge pull request #234 from fd/master
Replace jsonschema-cli with check-jsonschema
2 parents 31c32fb + b5625de commit 57d5071

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)