diff options
author | Simon Menke | 2023-09-17 10:34:25 +0200 |
---|---|---|
committer | Simon Menke | 2023-09-17 10:34:25 +0200 |
commit | b5625de9c918d4ea318627fc1a18943ac8c1e1b1 (patch) | |
tree | 797b4b52bb76922cd81f2ef00115084c9c11ef97 /flake.nix | |
parent | 31c32fb2959103a796e07bbe47e0a5e287c343a8 (diff) |
Replace jsonschema-cli with check-jsonschema
jsonschema-cli is deprecated and will be removed in the future.
The recommended replacement is check-jsonschema.
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |