lol

Merge pull request #262172 from OPNA2608/fix/mate/indicator-applet_ayatana

mate.mate-indicator-applet: Use Ayatana indicators instead, fix new-s…

authored by

Bobby Rong and committed by
GitHub
1ef792bc 125f1d62

+10 -2
+10 -2
pkgs/desktops/mate/mate-indicator-applet/default.nix
··· 4 4 , pkg-config 5 5 , gettext 6 6 , gtk3 7 - , libindicator-gtk3 7 + , libayatana-indicator 8 8 , mate 9 9 , hicolor-icon-theme 10 10 , wrapGAppsHook ··· 20 20 sha256 = "144fh9f3lag2cqnmb6zxlh8k83ya8kha6rmd7r8gg3z5w3nzpyz4"; 21 21 }; 22 22 23 + postPatch = '' 24 + # Find installed Unity & Ayatana (new-style) indicators 25 + substituteInPlace src/applet-main.c \ 26 + --replace '/usr/share' '/run/current-system/sw/share' 27 + ''; 28 + 23 29 nativeBuildInputs = [ 24 30 pkg-config 25 31 gettext ··· 28 34 29 35 buildInputs = [ 30 36 gtk3 31 - libindicator-gtk3 37 + libayatana-indicator 32 38 mate.mate-panel 33 39 hicolor-icon-theme 34 40 ]; 41 + 42 + configureFlags = [ "--with-ayatana-indicators" ]; 35 43 36 44 enableParallelBuilding = true; 37 45