diff options
| author | Commander <commander@te.rrori.st> | 2025-08-10 18:15:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-10 18:15:10 +0200 |
| commit | f8cc6dae675bbeeee23434bb1ef870eefefd198c (patch) | |
| tree | 680cb2295c93c3b681cc31e7fd42f6eff42186c9 | |
| parent | maintainers: drop tuynia (#431156) (diff) | |
| download | nixpkgs-f8cc6dae675bbeeee23434bb1ef870eefefd198c.tar.gz | |
mgba: add `libsForQt5.qt5.qtwayland` as a buildInput
Fixes a crash when the qt frontend is opened.
| -rw-r--r-- | pkgs/by-name/mg/mgba/package.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/by-name/mg/mgba/package.nix b/pkgs/by-name/mg/mgba/package.nix index 5d42106e7fe9..3c8c2823445f 100644 --- a/pkgs/by-name/mg/mgba/package.nix +++ b/pkgs/by-name/mg/mgba/package.nix @@ -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) |
