From f8ced3f27f85ea93b2d85ad8a6b2cefbeaea7a38 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 29 Dec 2023 05:43:50 -0500 Subject: ci: use nix-fast-build --- flake.nix | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e7eee65..9cd5074 100644 --- a/flake.nix +++ b/flake.nix @@ -66,44 +66,5 @@ full = "big template for complex flakes (using flake-parts)"; nixos = "minimal boilerplate for flake-based nixos configuration"; }; - - githubWorkflow.matrix = let - inherit (nixpkgs) lib; - - ciSystems = [ - "x86_64-linux" - "aarch64-linux" - "x86_64-darwin" - ]; - - platforms = { - "x86_64-linux" = { - arch = "x64"; - os = "ubuntu-latest"; - }; - - "aarch64-linux" = { - arch = "aarch64"; - os = "ubuntu-latest"; - }; - - "x86_64-darwin" = { - arch = "x64"; - os = "macos-latest"; - }; - }; - in { - include = lib.pipe ciSystems [ - (systems: lib.getAttrs systems self.packages) - - (lib.mapAttrsToList (system: - lib.mapAttrsToList (attr: _: { - inherit (platforms.${system}) os arch; - attr = "packages.${system}.${attr}"; - }))) - - lib.flatten - ]; - }; }; } -- cgit v1.2.3