escrotum: add ffmpeg-full to PATH of wrapper

Screen recording requires ffmpeg with --enable-libxcb.
This commit is contained in:
Antoine Pietri 2023-10-30 01:17:45 +01:00
parent 90e85bc7c1
commit 433fe02381

View File

@ -1,4 +1,5 @@
{ lib, python3Packages, fetchFromGitHub
, ffmpeg-full
, gtk3
, pango
, gobject-introspection
@ -33,6 +34,8 @@ with python3Packages; buildPythonApplication {
outputs = [ "out" "man" ];
makeWrapperArgs = ["--prefix PATH : ${lib.makeBinPath [ ffmpeg-full ]}"];
postInstall = ''
mkdir -p $man/share/man/man1
cp man/escrotum.1 $man/share/man/man1/