Unverified Commit f8cc6dae authored by Commander's avatar Commander Committed by GitHub
Browse files

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

Fixes a crash when the qt frontend is opened.
parent febe951b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)