about summary refs log tree commit diff
path: root/pkgs/applications/video/stremio
diff options
context:
space:
mode:
authorrafaelrc7 <contact@rafaelrc.com>2024-02-19 20:42:57 -0300
committerrafaelrc7 <contact@rafaelrc.com>2024-03-20 23:09:54 -0300
commitb6c9a617ba692d1986adec17693b9fd85b8c6af2 (patch)
tree3f3427053f7e595c3be3c901e4e995258e8a2d9f /pkgs/applications/video/stremio
parent51f359526f0a7c5992c4986ccc8dbbc3e8c5ce5a (diff)
stremio: add ffmpeg as runtime dependency to PATH
Diffstat (limited to 'pkgs/applications/video/stremio')
-rw-r--r--pkgs/applications/video/stremio/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/video/stremio/default.nix b/pkgs/applications/video/stremio/default.nix
index 6031e4d5cfb8a..a967a872cd997 100644
--- a/pkgs/applications/video/stremio/default.nix
+++ b/pkgs/applications/video/stremio/default.nix
@@ -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; {