2024-11-21 23:33:37 -05:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
self,
|
|
|
|
}: let
|
2024-12-11 12:05:16 -05:00
|
|
|
inherit (pkgs.lib) elem filterAttrs hasAttr mapAttrs' nameValuePair;
|
2024-11-21 23:33:37 -05:00
|
|
|
|
|
|
|
packages =
|
|
|
|
filterAttrs (
|
|
|
|
_: v:
|
|
|
|
!(hasAttr "platforms" v.meta)
|
|
|
|
|| elem pkgs.system v.meta.platforms
|
|
|
|
)
|
|
|
|
self.packages.${pkgs.system};
|
|
|
|
in
|
2024-12-11 12:05:16 -05:00
|
|
|
mapAttrs'
|
|
|
|
(name: pkg: nameValuePair "pkg_${name}" pkg)
|
2024-11-21 23:33:37 -05:00
|
|
|
packages
|