mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-08 05:03:40 +00:00
Merge pull request #326747 from toh995/remove-youtube-dl-from-pipe-viewer
pipe-viewer: remove dependency on youtube-dl
This commit is contained in:
commit
5f75a58cc8
@ -9,7 +9,6 @@
|
||||
, mpv
|
||||
, wget
|
||||
, xdg-utils
|
||||
, youtube-dl
|
||||
, yt-dlp
|
||||
, TestPod
|
||||
, Gtk3
|
||||
@ -75,11 +74,11 @@ buildPerlModule rec {
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram "$out/bin/pipe-viewer" \
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget youtube-dl yt-dlp ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget yt-dlp ]}"
|
||||
'' + lib.optionalString withGtk3 ''
|
||||
# make xdg-open overrideable at runtime
|
||||
wrapProgram "$out/bin/gtk-pipe-viewer" ''${gappsWrapperArgs[@]} \
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget youtube-dl yt-dlp ]}" \
|
||||
--prefix PATH : "${lib.makeBinPath [ ffmpeg mpv wget yt-dlp ]}" \
|
||||
--suffix PATH : "${lib.makeBinPath [ xdg-utils ]}"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user