From dcffd33bdad7475fe86158a044eb75ab3f023b0d Mon Sep 17 00:00:00 2001 From: seth Date: Sat, 30 Dec 2023 04:32:40 -0500 Subject: flake: cleanup ciGate --- nix/ci.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'nix/ci.nix') diff --git a/nix/ci.nix b/nix/ci.nix index 38293ce..682f46f 100644 --- a/nix/ci.nix +++ b/nix/ci.nix @@ -2,7 +2,7 @@ perSystem = { pkgs, lib, - config, + self', ... }: { /* @@ -12,14 +12,12 @@ https://determinate.systems/posts/hydra-deployment-source-of-truth */ - packages.ciGate = pkgs.writeText "ci-gate" '' - ${ - lib.concatMapStringsSep "\n" (s: toString (builtins.attrValues s)) [ - config.checks - config.devShells - (builtins.removeAttrs config.packages ["default" "ciGate"]) - ] - } - ''; + packages.ciGate = pkgs.writeText "ci-gate" ( + lib.concatMapStringsSep "\n" (s: toString (lib.attrValues s)) [ + self'.checks + self'.devShells + (builtins.removeAttrs self'.packages ["default" "ciGate"]) + ] + ); }; } -- cgit v1.2.3