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 , pre-commit-hooks
}: }:
let 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: { lib = nixpkgs.lib.extend (self: super: {
my = import ./lib { inherit inputs; pkgs = nixpkgs; lib = self; }; my = import ./lib { inherit inputs; pkgs = nixpkgs; lib = self; };
@ -100,7 +109,7 @@
}; };
}; };
in in
eachDefaultSystem eachMySystem
(system: (system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};