From 433fe023817d45abcda828c48f27512c212d398f Mon Sep 17 00:00:00 2001 From: Antoine Pietri Date: Mon, 30 Oct 2023 01:17:45 +0100 Subject: [PATCH] escrotum: add ffmpeg-full to PATH of wrapper Screen recording requires ffmpeg with --enable-libxcb. --- pkgs/tools/graphics/escrotum/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/graphics/escrotum/default.nix b/pkgs/tools/graphics/escrotum/default.nix index 08136f57ef88..04c245dbd9a6 100644 --- a/pkgs/tools/graphics/escrotum/default.nix +++ b/pkgs/tools/graphics/escrotum/default.nix @@ -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/