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 , pkg-config 5 , gettext 6 , gtk3 7 - , libindicator-gtk3 8 , mate 9 , hicolor-icon-theme 10 , wrapGAppsHook ··· 20 sha256 = "144fh9f3lag2cqnmb6zxlh8k83ya8kha6rmd7r8gg3z5w3nzpyz4"; 21 }; 22 23 nativeBuildInputs = [ 24 pkg-config 25 gettext ··· 28 29 buildInputs = [ 30 gtk3 31 - libindicator-gtk3 32 mate.mate-panel 33 hicolor-icon-theme 34 ]; 35 36 enableParallelBuilding = true; 37
··· 4 , pkg-config 5 , gettext 6 , gtk3 7 + , libayatana-indicator 8 , mate 9 , hicolor-icon-theme 10 , wrapGAppsHook ··· 20 sha256 = "144fh9f3lag2cqnmb6zxlh8k83ya8kha6rmd7r8gg3z5w3nzpyz4"; 21 }; 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 + 29 nativeBuildInputs = [ 30 pkg-config 31 gettext ··· 34 35 buildInputs = [ 36 gtk3 37 + libayatana-indicator 38 mate.mate-panel 39 hicolor-icon-theme 40 ]; 41 + 42 + configureFlags = [ "--with-ayatana-indicators" ]; 43 44 enableParallelBuilding = true; 45