From 88e877fe1c764a55db4cc361fefc5d950c601807 Mon Sep 17 00:00:00 2001 From: Dennis Gosnell Date: Mon, 27 Mar 2023 08:40:14 +0900 Subject: [PATCH] haskellPackages.ffmpeg-light: force use of ffmpeg-4 --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b3c0567dfa00..c10a78de6fa5 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2517,6 +2517,10 @@ self: super: { editedCabalFile = null; }) super.true-name); + # ffmpeg-light works against the ffmpeg-4 API, but the default ffmpeg in nixpkgs is ffmpeg-5. + # https://github.com/NixOS/nixpkgs/pull/220972#issuecomment-1484017192 + ffmpeg-light = super.ffmpeg-light.override { ffmpeg = pkgs.ffmpeg_4; }; + # posix-api has had broken tests since 2020 (until at least 2023-01-11) # raehik has a fix pending: https://github.com/andrewthad/posix-api/pull/14 posix-api = dontCheck super.posix-api;