nixos-configs/checks/apps/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

13 lines
337 B
Nix

{
pkgs,
self,
}: let
inherit (pkgs.lib) mapAttrs' nameValuePair removeAttrs removeSuffix;
in
mapAttrs'
(name: app:
nameValuePair "app-${name}" (pkgs.symlinkJoin {
name = "app-${name}";
paths = [(removeSuffix "/bin/${name}" (toString app.program))];
}))
(removeAttrs self.apps.${pkgs.system} ["genflake"])