stremio: add ffmpeg as runtime dependency to PATH

This commit is contained in:
rafaelrc7 2024-02-19 20:42:57 -03:00
parent 51f359526f
commit b6c9a617ba
No known key found for this signature in database
GPG key ID: A2E6A1C9A59514A5

View file

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, fetchurl
, ffmpeg
, mpv
, nodejs
, qmake
@ -38,6 +39,8 @@ stdenv.mkDerivation rec {
install -Dm 644 images/stremio_window.png $out/share/pixmaps/smartcode-stremio.png
ln -s ${nodejs}/bin/node $out/opt/stremio/node
ln -s $server $out/opt/stremio/server.js
wrapProgram $out/bin/stremio \
--suffix PATH ":" ${lib.makeBinPath [ ffmpeg ]}
'';
meta = with lib; {