From 44349dfbb5f7da67df10e423eb73dcdfedc86aee Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 16 Sep 2025 04:30:43 +0100 Subject: [PATCH] libmatroska: backport patch for CMake 4 Co-authored-by: K900 --- pkgs/by-name/li/libmatroska/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/li/libmatroska/package.nix b/pkgs/by-name/li/libmatroska/package.nix index 8de6786dfa64..70d8eff99a4d 100644 --- a/pkgs/by-name/li/libmatroska/package.nix +++ b/pkgs/by-name/li/libmatroska/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, cmake, libebml, nix-update-script, @@ -27,6 +28,14 @@ stdenv.mkDerivation rec { hash = "sha256-hfu3Q1lIyMlWFWUM2Pu70Hie0rlQmua7Kq8kSIWnfHE="; }; + patches = [ + (fetchpatch { + name = "libmatroska-fix-cmake-4.patch"; + url = "https://github.com/Matroska-Org/libmatroska/commit/dc80e194e93e6f0e25c8ad3e015d83aca2a99e10.patch"; + hash = "sha256-2dKRJ6z5rOrLJ5agvXQ6k8TPi5rTMA3H1wCO2F5tBbc="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config