birdtray: fix crash on wayland

This commit is contained in:
oxalica 2021-03-18 01:03:31 +08:00
parent 266dc8c3d0
commit c80bccd5ec
No known key found for this signature in database
GPG Key ID: CED392DE0C483D00

View File

@ -36,11 +36,15 @@ mkDerivation rec {
--subst-var-by qttranslations ${qttranslations} --subst-var-by qttranslations ${qttranslations}
''; '';
# Wayland support is broken.
# https://github.com/gyunaev/birdtray/issues/113#issuecomment-621742315
qtWrapperArgs = [ "--set QT_QPA_PLATFORM xcb" ];
meta = with lib; { meta = with lib; {
description = "Mail system tray notification icon for Thunderbird"; description = "Mail system tray notification icon for Thunderbird";
homepage = "https://github.com/gyunaev/birdtray"; homepage = "https://github.com/gyunaev/birdtray";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;
maintainers = with maintainers; [ Flakebi ]; maintainers = with maintainers; [ Flakebi oxalica ];
platforms = platforms.linux; platforms = platforms.linux;
}; };
} }