diff --git a/pkgs/by-name/ce/celluloid/package.nix b/pkgs/by-name/ce/celluloid/package.nix index 64ee44b1ad16..a3491af59fbd 100644 --- a/pkgs/by-name/ce/celluloid/package.nix +++ b/pkgs/by-name/ce/celluloid/package.nix @@ -15,6 +15,8 @@ , pkg-config , python3 , wrapGAppsHook4 +, yt-dlp +, youtubeSupport ? true }: stdenv.mkDerivation (finalAttrs: { @@ -51,6 +53,12 @@ stdenv.mkDerivation (finalAttrs: { patchShebangs meson-post-install.py src/generate-authors.py ''; + preFixup = lib.optionalString youtubeSupport '' + gappsWrapperArgs+=( + --prefix PATH : "${lib.makeBinPath [ yt-dlp ]}" + ) + ''; + strictDeps = true; doCheck = true;