From 38d9005a7334d45749dcfecb924f7ff1444e8699 Mon Sep 17 00:00:00 2001 From: Philipp Herzog Date: Fri, 11 Nov 2022 14:03:07 +0100 Subject: More unique names for the checks generated by deploy-rs Closes #162 --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 66ba60b..ecb1331 100644 --- a/flake.nix +++ b/flake.nix @@ -101,11 +101,11 @@ }; deployChecks = deploy: builtins.mapAttrs (_: check: check deploy) { - schema = deploy: final.runCommand "jsonschema-deploy-system" { } '' + 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 ''; - activate = deploy: + deploy-activate = deploy: let profiles = builtins.concatLists (final.lib.mapAttrsToList (nodeName: node: final.lib.mapAttrsToList (profileName: profile: [ (toString profile.path) nodeName profileName ]) node.profiles) deploy.nodes); in -- cgit v1.2.3