backward-cpp: fix build with cmake4 (#451478)

This commit is contained in:
Leona Maroni
2025-10-14 12:28:39 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
cmake,
}:
@@ -16,6 +17,14 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-2k5PjwFxgA/2XPqJrPHxgSInM61FBEcieppBx+MAUKw=";
};
patches = [
# update depreciated cmake minimum version
(fetchpatch {
url = "https://github.com/bombela/backward-cpp/commit/8cb73c397f38b0a375d49335e17980b6c3345ca1.patch?full_index=1";
hash = "sha256-i+ywKsCdTIS9sqqwAOcf2Mhdz5ReKfThNLHjhvRRQQ0=";
})
];
nativeBuildInputs = [
cmake
];