nixos-configs/checks/packages/default.nix

16 lines
253 B
Nix
Raw Normal View History

2024-11-21 23:33:37 -05:00
{
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