11 useDefaultApplets ? true,
15 selectedApplets = applets ++ (lib.optionals useDefaultApplets panelApplets);
18 pname = "${mate-panel.pname}-with-applets";
19 version = mate-panel.version;
23 paths = [ mate-panel ] ++ selectedApplets;
24 passAsFile = [ "paths" ];
32 lib.forEach selectedApplets (x: x.buildInputs)
35 ++ mate-panel.buildInputs
36 ++ mate-panel.propagatedBuildInputs;
42 preferLocalBuild = true;
43 allowSubstitutes = false;
49 for i in $(cat $pathsPath); do
50 ${xorg.lndir}/bin/lndir -silent $i $out
58 --set MATE_PANEL_APPLETS_DIR "$out/share/mate-panel/applets"
59 --set MATE_PANEL_EXTRA_MODULES "$out/lib/mate-panel/applets"
60 # Workspace switcher settings
61 --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}"
65 inherit (mate-panel.meta) ;