Unverified Commit 442263f4 authored by Ophestra's avatar Ophestra
Browse files

libtas: add binutils and ffmpeg to PATH

libTAS invokes readelf and ffmpeg, it does not crash when they are not
present, however certain features like video encoding stop working
without any error message showing up in the GUI.
parent cd16b1db
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
, lua5_3
, qt5
, file
, binutils
, makeDesktopItem
}:

@@ -39,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {

  postFixup = ''
    wrapProgram $out/bin/libTAS \
      --suffix PATH : ${lib.makeBinPath [ file ]} \
      --suffix PATH : ${lib.makeBinPath [ file binutils ffmpeg ]} \
      --set-default LIBTAS_SO_PATH $out/lib/libtas.so
  '';