diff --git a/pkgs/applications/emulators/mgba/default.nix b/pkgs/applications/emulators/mgba/default.nix index ebd4e5e8abaf..8537a0511286 100644 --- a/pkgs/applications/emulators/mgba/default.nix +++ b/pkgs/applications/emulators/mgba/default.nix @@ -12,6 +12,7 @@ , minizip , pkg-config , libsForQt5 +, wrapGAppsHook }: let @@ -36,9 +37,15 @@ stdenv.mkDerivation (finalAttrs: { nativeBuildInputs = [ cmake pkg-config + wrapGAppsHook wrapQtAppsHook ]; + dontWrapGApps = true; + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + buildInputs = [ SDL2 ffmpeg