mgba: add libsForQt5.qt5.qtwayland as a buildInput

Fixes a crash when the qt frontend is opened.
This commit is contained in:
Commander
2025-08-10 18:15:10 +02:00
committed by GitHub
parent febe951bcd
commit f8cc6dae67
+3 -1
View File
@@ -24,6 +24,7 @@ let
qtmultimedia
qttools
wrapQtAppsHook
qtwayland
;
in
stdenv.mkDerivation (finalAttrs: {
@@ -66,7 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
qtmultimedia
qttools
]
++ lib.optionals enableDiscordRpc [ discord-rpc ];
++ lib.optionals enableDiscordRpc [ discord-rpc ]
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
cmakeFlags = [
(lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc)