diff --git a/pkgs/applications/video/wf-recorder/default.nix b/pkgs/applications/video/wf-recorder/default.nix index b2f848773c8a..5f25b7112d98 100644 --- a/pkgs/applications/video/wf-recorder/default.nix +++ b/pkgs/applications/video/wf-recorder/default.nix @@ -14,6 +14,7 @@ libpulseaudio, pipewire, mesa, # for libgbm + fetchpatch, }: stdenv.mkDerivation rec { @@ -27,6 +28,14 @@ stdenv.mkDerivation rec { hash = "sha256-7/fQOkfAw5v3irD5blJOdq88j0VBrPVQQufdt9wsACk="; }; + patches = [ + # compile fixes from upstream, remove when they stop applying + (fetchpatch { + url = "https://github.com/ammen99/wf-recorder/commit/560bb92d3ddaeb31d7af77d22d01b0050b45bebe.diff"; + sha256 = "sha256-7jbX5k8dh4dWfolMkZXiERuM72zVrkarsamXnd+1YoI="; + }) + ]; + nativeBuildInputs = [ meson ninja