Skip to content

Commit

Permalink
add arm to the build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-martin committed May 30, 2024
1 parent 94f2808 commit acab55f
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions main/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
nix-github-actions.inputs.nixpkgs.follows = "nixpkgs-stable";
};
outputs = inputs:
(inputs.flake-utils.lib.eachDefaultSystem (system:
let
systems = [ "x86_64-linux" "x86_64-darwin" "aarch64-darwin" ];
in
(inputs.flake-utils.lib.eachSystem systems (system:
rec {
packages = import ./packages.nix { inherit inputs system; };
lib = import ./lib.nix { inherit inputs system packages; };
Expand All @@ -25,12 +28,7 @@
) // {
nixosModules = import ./nixos-modules.nix { inherit inputs; };
githubActions = inputs.nix-github-actions.lib.mkGithubMatrix {
checks =
inputs.nixpkgs-stable.lib.getAttrs [
"x86_64-linux"
"x86_64-darwin"
]
inputs.self.checks;
checks = inputs.nixpkgs-stable.lib.getAttrs systems inputs.self.checks;
};
};
nixConfig = {
Expand Down

0 comments on commit acab55f

Please sign in to comment.