blitz: fix build failure with cmake 4 (#452691)

This commit is contained in:
Yohann Boniface
2025-10-23 21:08:33 +00:00
committed by GitHub
+8
View File
@@ -44,6 +44,14 @@ stdenv.mkDerivation rec {
})
];
# CMake 4 is no longer retro compatible with versions < 3.5
# cmake_minimum_required was already to an upper version, but not cmake_policy
postPatch = ''
substituteInPlace CMakeLists.txt --replace-fail \
"cmake_policy(VERSION 3.1)" \
""
'';
nativeBuildInputs = [
cmake
pkg-config