nixos-configs/checks/apps.nix
matt1432 a67f0fd422
All checks were successful
Discord / discord commits (push) Has been skipped
feat(apps): add to nixFastBuild and clean up nix code
2024-11-15 13:39:20 -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"])