File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change 5252 # (i don't know the circumstances under which `final` wouldn't have a `system` attribute, but we may as well account for it)
5353 importDefaultDerivationsWith ( final . system or "" ) final
5454 ) ;
55- apps =
56- let
57- toApps =
58- app : pkgs :
59- # filter packages to only include ones whose name starts with `app`, then map them to app definitions
60- mapAttrs ( name : pkg : {
61- type = "app" ;
62- # this seems to be correct, but I'm not entirely sure
63- program = "${ pkg } /bin/${ pkg . name } " ;
64- } ) ( std . filterAttrs ( name : val : std . hasPrefix app name ) pkgs ) ;
65- in
66- mapAttrs (
67- system : pkgs :
68- (
69- ( toApps "emuhawk" pkgs )
70- // ( toApps "discohawk" pkgs )
71- // {
72- default = self . apps . ${ system } . emuhawk-latest-bin ;
73- }
74- )
75- ) self . packages ;
7655 } ;
7756}
You can’t perform that action at this time.
0 commit comments