stremio: add ffmpeg as runtime dependency to PATH
This commit is contained in:
parent
51f359526f
commit
b6c9a617ba
|
@ -2,6 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, ffmpeg
|
||||||
, mpv
|
, mpv
|
||||||
, nodejs
|
, nodejs
|
||||||
, qmake
|
, qmake
|
||||||
|
@ -38,6 +39,8 @@ stdenv.mkDerivation rec {
|
||||||
install -Dm 644 images/stremio_window.png $out/share/pixmaps/smartcode-stremio.png
|
install -Dm 644 images/stremio_window.png $out/share/pixmaps/smartcode-stremio.png
|
||||||
ln -s ${nodejs}/bin/node $out/opt/stremio/node
|
ln -s ${nodejs}/bin/node $out/opt/stremio/node
|
||||||
ln -s $server $out/opt/stremio/server.js
|
ln -s $server $out/opt/stremio/server.js
|
||||||
|
wrapProgram $out/bin/stremio \
|
||||||
|
--suffix PATH ":" ${lib.makeBinPath [ ffmpeg ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user