diff options
| author | seth <[email protected]> | 2023-09-01 17:15:01 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-09-01 17:20:46 -0400 |
| commit | f7d4a40bc5a370c8fa77188f04e8c68cbc2e1f4a (patch) | |
| tree | 78135e3d3ae1b91c8e2b92310d125e4c5c906938 | |
| parent | 29a12662a1b96f140d81b14e1ba32df2d8779e15 (diff) | |
ci: use herculeCI.config for findCompatible
| -rw-r--r-- | hci.nix | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -22,11 +22,14 @@ }; }; - herculesCI = {lib, ...}: let - ciSystems = ["x86_64-linux" "aarch64-linux"]; - findCompatible = lib.filterAttrs (s: _: builtins.elem s ciSystems); + herculesCI = { + config, + lib, + ... + }: let + findCompatible = lib.filterAttrs (s: _: builtins.elem s config.ciSystems); in { - inherit ciSystems; + ciSystems = ["x86_64-linux" "aarch64-linux"]; onPush.default.outputs = lib.mkForce { packages = findCompatible self.packages; |
