aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorRoman Melnikov2023-09-18 11:24:41 +0200
committerGitHub2023-09-18 11:24:41 +0200
commit57d5071e60c1318ec27eb987f96504ce3d58cb34 (patch)
tree797b4b52bb76922cd81f2ef00115084c9c11ef97 /flake.nix
parent31c32fb2959103a796e07bbe47e0a5e287c343a8 (diff)
parentb5625de9c918d4ea318627fc1a18943ac8c1e1b1 (diff)
Merge pull request #234 from fd/master
Replace jsonschema-cli with check-jsonschema
Diffstat (limited to '')
-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: