mgba: add `libsForQt5.qt5.qtwayland` as a buildInput

Fixes a crash when the qt frontend is opened.

Commander f8cc6dae febe951b

Changed files
+3 -1
pkgs
by-name
mg
+3 -1
pkgs/by-name/mg/mgba/package.nix
···
qtmultimedia
qttools
wrapQtAppsHook
;
in
stdenv.mkDerivation (finalAttrs: {
···
qtmultimedia
qttools
]
-
++ lib.optionals enableDiscordRpc [ discord-rpc ];
cmakeFlags = [
(lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc)
···
qtmultimedia
qttools
wrapQtAppsHook
+
qtwayland
;
in
stdenv.mkDerivation (finalAttrs: {
···
qtmultimedia
qttools
]
+
++ lib.optionals enableDiscordRpc [ discord-rpc ]
+
++ lib.optionals stdenv.hostPlatform.isLinux [ qtwayland ];
cmakeFlags = [
(lib.cmakeBool "USE_DISCORD_RPC" enableDiscordRpc)