brunsli: fix build with cmake v4 (#445497)

This commit is contained in:
dotlambda
2025-09-23 05:40:04 -07:00
committed by GitHub
+5
View File
@@ -42,6 +42,11 @@ stdenv.mkDerivation rec {
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
rm -r build
''
# fix build with cmake v4, should be removed in next release
+ ''
substituteInPlace CMakeLists.txt \
--replace-fail 'cmake_minimum_required(VERSION 3.1)' 'cmake_minimum_required(VERSION 3.10)'
'';
nativeBuildInputs = [