yaml-cpp: backport patch for CMake 4

This commit is contained in:
Emily
2025-09-16 04:15:33 +01:00
parent b214834cb4
commit 798a52c35c
+9
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
gitUpdater,
cmake,
static ? stdenv.hostPlatform.isStatic,
@@ -18,6 +19,14 @@ stdenv.mkDerivation rec {
hash = "sha256-J87oS6Az1/vNdyXu3L7KmUGWzU0IAkGrGMUUha+xDXI=";
};
patches = [
(fetchpatch {
name = "yaml-cpp-fix-cmake-4.patch";
url = "https://github.com/jbeder/yaml-cpp/commit/c2680200486572baf8221ba052ef50b58ecd816e.patch";
hash = "sha256-1kXRa+xrAbLEhcJxNV1oGHPmayj1RNIe6dDWXZA3mUA=";
})
];
strictDeps = true;
nativeBuildInputs = [