botamusique: use same ffmpeg as yt-dlp

...to save the runtime closure
This commit is contained in:
Someone Serge 2024-01-03 14:39:56 +00:00
parent 5391c840e7
commit 803176c9c0
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -2,7 +2,7 @@
, stdenv
, fetchFromGitHub
, python3Packages
, ffmpeg
, ffmpeg-headless
, makeWrapper
, nixosTests
, nodejs
@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
# Convenience binary and wrap with ffmpeg dependency
makeWrapper $out/share/botamusique/mumbleBot.py $out/bin/botamusique \
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]}
--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}
runHook postInstall
'';