Fix 'nix flake check' evaluation

I should figure out why 'pre-commit' even needs dotnet at some point...
This commit is contained in:
Bruno BELANYI 2022-06-03 14:45:09 +02:00
parent c48624c0f3
commit 964d796b4b

View file

@ -34,7 +34,19 @@
, nixpkgs , nixpkgs
, pre-commit-hooks , 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: (system:
let let
pkgs = import nixpkgs { pkgs = import nixpkgs {