flake: only use subset of systems

Turns out pre-commit pulls dotnet in its closure, which is not supported
on i686...
This commit is contained in:
Bruno BELANYI 2022-04-12 10:43:54 +02:00
parent b6ca6b28b9
commit e3f021e832

View file

@ -65,7 +65,16 @@
, pre-commit-hooks
}:
let
inherit (futils.lib) eachDefaultSystem;
inherit (futils.lib) eachSystem system;
mySystems = [
system.aarch64-darwin
system.aarch64-linux
system.x86_64-darwin
system.x86_64-linux
];
eachMySystem = eachSystem mySystems;
lib = nixpkgs.lib.extend (self: super: {
my = import ./lib { inherit inputs; pkgs = nixpkgs; lib = self; };
@ -100,7 +109,7 @@
};
};
in
eachDefaultSystem
eachMySystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};