From 964d796b4b9892a1d0d47b5be283381a3b22f55b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 3 Jun 2022 14:45:09 +0200 Subject: [PATCH] Fix 'nix flake check' evaluation I should figure out why 'pre-commit' even needs dotnet at some point... --- flake.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 5eddac3..31ecee0 100644 --- a/flake.nix +++ b/flake.nix @@ -34,7 +34,19 @@ , nixpkgs , pre-commit-hooks }: - flake-utils.lib.eachDefaultSystem + let + inherit (flake-utils.lib) eachSystem system; + + mySystems = [ + system.aarch64-darwin + system.aarch64-linux + system.x86_64-darwin + system.x86_64-linux + ]; + + eachMySystem = eachSystem mySystems; + in + eachMySystem (system: let pkgs = import nixpkgs {