diff --git a/pkgs/applications/plasma-mobile/plasmatube/default.nix b/pkgs/applications/plasma-mobile/plasmatube/default.nix index 6e3377911f34..81041b22931d 100644 --- a/pkgs/applications/plasma-mobile/plasmatube/default.nix +++ b/pkgs/applications/plasma-mobile/plasmatube/default.nix @@ -2,6 +2,7 @@ , mkDerivation , cmake , extra-cmake-modules +, wrapGAppsHook , gst_all_1 , kcoreaddons , kdeclarative @@ -17,6 +18,7 @@ mkDerivation { nativeBuildInputs = [ extra-cmake-modules + wrapGAppsHook ]; buildInputs = [ @@ -42,6 +44,11 @@ mkDerivation { --replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp" ''; + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + dontWrapGApps = true; + meta = { description = "Youtube player powered by an invidious server"; homepage = "https://invent.kde.org/plasma-mobile/plasmatube";