mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 09:34:36 +00:00
botamusique: use same ffmpeg as yt-dlp
...to save the runtime closure
This commit is contained in:
parent
5391c840e7
commit
803176c9c0
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user