nixos-configs/checks/packages/default.nix
matt1432 303122dfc8
All checks were successful
Discord / discord commits (push) Has been skipped
feat: add packages to checks
2024-11-21 23:33:37 -05:00

15 lines
253 B
Nix

{
pkgs,
self,
}: let
inherit (pkgs.lib) elem filterAttrs hasAttr;
packages =
filterAttrs (
_: v:
!(hasAttr "platforms" v.meta)
|| elem pkgs.system v.meta.platforms
)
self.packages.${pkgs.system};
in
packages