diff --git a/pkgs/applications/kde/plasmatube/default.nix b/pkgs/applications/kde/plasmatube/default.nix index 555b9f801c22..d7f0e337e509 100644 --- a/pkgs/applications/kde/plasmatube/default.nix +++ b/pkgs/applications/kde/plasmatube/default.nix @@ -1,6 +1,5 @@ { lib , mkDerivation -, cmake , extra-cmake-modules , wrapGAppsHook , gst_all_1 @@ -11,6 +10,7 @@ , mpv , qtmultimedia , qtquickcontrols2 +, yt-dlp }: mkDerivation { @@ -36,6 +36,13 @@ mkDerivation { gstreamer ]); + qtWrapperArgs = [ + "--prefix" + "PATH" + ":" + (lib.makeBinPath [ yt-dlp ]) + ]; + preFixup = '' qtWrapperArgs+=("''${gappsWrapperArgs[@]}") '';