diff --git a/pkgs/by-name/ma/mangojuice/package.nix b/pkgs/by-name/ma/mangojuice/package.nix index 297e733637f4df..f60517cea1f4f6 100644 --- a/pkgs/by-name/ma/mangojuice/package.nix +++ b/pkgs/by-name/ma/mangojuice/package.nix @@ -12,6 +12,7 @@ libadwaita, glib, libgee, + wrapGAppsHook4, mangohud, mesa-demos, @@ -37,6 +38,7 @@ stdenv.mkDerivation (finalAttrs: { vala pkg-config makeBinaryWrapper + wrapGAppsHook4 ]; buildInputs = [ @@ -47,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: { ]; strictDeps = true; + dontWrapGApps = true; postFixup = let @@ -58,7 +61,8 @@ stdenv.mkDerivation (finalAttrs: { in '' wrapProgram $out/bin/mangojuice \ - --prefix PATH : ${path} + --prefix PATH : ${path} \ + "''${gappsWrapperArgs[@]}" ''; passthru.updateScript = nix-update-script { };