parent
63317618df
commit
bea7a1e274
5 changed files with 6 additions and 9 deletions
apps
|
@ -3,15 +3,11 @@
|
|||
self,
|
||||
...
|
||||
}: let
|
||||
inherit (pkgs.lib) getExe mapAttrs' nameValuePair removePrefix;
|
||||
inherit (pkgs.lib) getExe mapAttrs;
|
||||
|
||||
mkApp = pkg: {
|
||||
program = getExe pkg;
|
||||
type = "app";
|
||||
};
|
||||
in
|
||||
mapAttrs' (
|
||||
n: v:
|
||||
nameValuePair (removePrefix "app-" n) (mkApp v)
|
||||
)
|
||||
self.appsPackages.${pkgs.system}
|
||||
mapAttrs (n: v: mkApp v) self.appsPackages.${pkgs.system}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue