aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorSimon Menke2023-09-17 10:34:25 +0200
committerSimon Menke2023-09-17 10:34:25 +0200
commitb5625de9c918d4ea318627fc1a18943ac8c1e1b1 (patch)
tree797b4b52bb76922cd81f2ef00115084c9c11ef97 /flake.nix
parent31c32fb2959103a796e07bbe47e0a5e287c343a8 (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 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index edfb6bd..66b2e76 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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: