diff options
| author | seth <[email protected]> | 2023-04-23 07:58:03 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-23 07:58:03 -0400 |
| commit | 25b7874b5d83947b8135b0337d99745dd0f98a52 (patch) | |
| tree | 567036e6120d5dc141e5860181cafc375a5585f6 | |
| parent | b0fd12cc8fbd57067e270137f02b6c40a2dbf226 (diff) | |
fix some ci issues
| -rw-r--r-- | flake.nix | 21 |
1 files changed, 13 insertions, 8 deletions
@@ -101,6 +101,7 @@ haumea, getchoo, nixinate, + nixpkgs, openwrt-imagebuilder, pre-commit-hooks, flake-parts, @@ -118,6 +119,13 @@ }; in getchoo.lib (inputs // args); + + systems = [ + "x86_64-linux" + "aarch64-linux" + "x86_64-darwin" + "aarch64-darwin" + ]; in flake-parts.lib.mkFlake {inherit inputs;} { imports = [ @@ -137,19 +145,15 @@ }; }; - systems = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - "aarch64-darwin" - ]; + herculesCI.ciSystems = ["x86_64-linux"]; + + inherit systems; perSystem = { pkgs, system, ... }: { - apps = nixinate.nixinate.${system} self; checks = { pre-commit-check = inputs.pre-commit-hooks.lib.${system}.run { src = ./.; @@ -192,5 +196,6 @@ turret = callPackage ./hosts/_turret {inherit openwrt-imagebuilder;}; }; }; - }; + } + // {apps = nixpkgs.lib.genAttrs systems (system: nixinate.nixinate.${system} self);}; } |
