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:
parent
b6ca6b28b9
commit
e3f021e832
13
flake.nix
13
flake.nix
|
@ -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};
|
||||
|
|
Loading…
Reference in a new issue