nixos-configs/apps/nix/packages.nix

15 lines
289 B
Nix
Raw Permalink Normal View History

2024-11-23 19:35:01 -05:00
{
pkgs,
self,
...
}: let
inherit (pkgs.lib) mapAttrs removeSuffix;
in
mapAttrs (
name: app: (pkgs.symlinkJoin {
name = "app-${name}";
paths = [(removeSuffix "/bin/${name}" (toString app.program))];
})
)
(removeAttrs self.apps.${pkgs.system} ["genflake"])