packages: support filtering packages per platform
This commit is contained in:
parent
00ef32a564
commit
604e380d43
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ let
|
||||||
// patched-inputs
|
// patched-inputs
|
||||||
// projects.packages;
|
// projects.packages;
|
||||||
in {
|
in {
|
||||||
packages = all;
|
packages = pkgs.lib.filterAttrs (_: pkg: pkg ? meta.platforms -> builtins.elem pkgs.system pkg.meta.platforms) all;
|
||||||
|
|
||||||
inherit (projects) devShells;
|
inherit (projects) devShells;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue