Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

stremio: add ffmpeg as runtime dependency to PATH #290070

Merged
merged 2 commits into from Mar 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 13 additions & 2 deletions pkgs/applications/video/stremio/default.nix
@@ -1,5 +1,14 @@
{ lib, stdenv, fetchurl, fetchFromGitHub, qmake, wrapQtAppsHook
, mpv, qtwebengine, qtwebchannel, nodejs
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, ffmpeg
, mpv
, nodejs
, qmake
, qtwebchannel
, qtwebengine
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
Expand Down Expand Up @@ -30,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; {
Expand Down