From b5625de9c918d4ea318627fc1a18943ac8c1e1b1 Mon Sep 17 00:00:00 2001 From: Simon Menke Date: Sun, 17 Sep 2023 10:34:25 +0200 Subject: Replace jsonschema-cli with check-jsonschema jsonschema-cli is deprecated and will be removed in the future. The recommended replacement is check-jsonschema. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flake.nix') 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: -- cgit v1.2.3