summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix11
1 files changed, 4 insertions, 7 deletions
diff --git a/flake.nix b/flake.nix
index d8836b87..9e09a621 100644
--- a/flake.nix
+++ b/flake.nix
@@ -34,16 +34,13 @@
crane,
...
}:
+ let
+ systems = nixpkgs.lib.filter (s: nixpkgs.lib.hasSuffix "-linux" s) nixpkgs.lib.systems.flakeExposed;
+ in
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [ inputs.treefmt-nix.flakeModule ];
- # can be extended, but these have proper binary cache support in nixpkgs
- # as of writing.
- systems = [
- "aarch64-linux"
- "x86_64-linux"
- "i686-linux"
- ];
+ inherit systems;
perSystem =
{