diff options
author | Sage Hane <sage@sagehane.com> | 2023-05-12 21:47:22 +0200 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-16 07:36:16 -0300 |
commit | fe2c56972e8c50c635c09ccf6fa825c79d8dfb86 (patch) | |
tree | 3081eea95b5bfb8d2a4f2cd40b108bea62d9c541 /pkgs/applications/emulators/mgba | |
parent | 013bd5a87d933ab6642f89f022612fb2f2183143 (diff) |
mgba: add `wrapGAppsHook`
Diffstat (limited to 'pkgs/applications/emulators/mgba')
-rw-r--r-- | pkgs/applications/emulators/mgba/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/emulators/mgba/default.nix b/pkgs/applications/emulators/mgba/default.nix index ebd4e5e8abaf4..8537a05112863 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 |