From f0dce5f0ba4611c8e65a64ff060d7a72699213ef Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Thu, 17 Oct 2024 10:39:46 -0400 Subject: [PATCH] mkvtoolnix: fix build by backporting patch This was broken by Qt upgrade, upstream fix is merged but not yet released. --- pkgs/applications/video/mkvtoolnix/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix index 7d4ced909df6..54fa98268a6f 100644 --- a/pkgs/applications/video/mkvtoolnix/default.nix +++ b/pkgs/applications/video/mkvtoolnix/default.nix @@ -8,6 +8,7 @@ , cmark , docbook_xsl , expat +, fetchpatch2 , file , flac , fmt @@ -58,6 +59,13 @@ stdenv.mkDerivation rec { hash = "sha256-UU57ZgH1sxCXspwfKXScw08aJYiv+k526U8q8N1tA+4="; }; + patches = [ + (fetchpatch2 { + url = "https://gitlab.com/mbunkus/mkvtoolnix/-/commit/fc83003f541ac690fe308c3f4ac36e62814a40db.diff"; + hash = "sha256-HOS79g5xm70upV5Okv1COEg0SanXs7brRRB59Ofx5HA="; + }) + ]; + nativeBuildInputs = [ autoreconfHook docbook_xsl