libcxxrt: fix build issue with cmake 4 (#454063)

This commit is contained in:
Yaya
2025-10-21 08:17:40 +00:00
committed by GitHub
@@ -17,6 +17,11 @@ stdenv.mkDerivation {
sha256 = "+oTjU/DgOEIwJebSVkSEt22mJSdeONozB8FfzEiESHU=";
};
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace-fail "cmake_minimum_required(VERSION 3.0)" "cmake_minimum_required(VERSION 3.10)"
'';
nativeBuildInputs = [ cmake ];
outputs = [