10 , useDefaultApplets ? true
14 selectedApplets = applets ++ (lib.optionals useDefaultApplets panelApplets);
17 pname = "${mate-panel.pname}-with-applets";
18 version = mate-panel.version;
22 paths = [ mate-panel ] ++ selectedApplets;
23 passAsFile = [ "paths" ];
30 buildInputs = lib.forEach selectedApplets (x: x.buildInputs) ++ selectedApplets
31 ++ [ mate-panel ] ++ mate-panel.buildInputs ++ mate-panel.propagatedBuildInputs;
37 preferLocalBuild = true;
38 allowSubstitutes = false;
44 for i in $(cat $pathsPath); do
45 ${xorg.lndir}/bin/lndir -silent $i $out
53 --set MATE_PANEL_APPLETS_DIR "$out/share/mate-panel/applets"
54 --set MATE_PANEL_EXTRA_MODULES "$out/lib/mate-panel/applets"
55 # Workspace switcher settings
56 --prefix XDG_DATA_DIRS : "${glib.getSchemaDataDirPath marco}"
60 inherit (mate-panel.meta);