Skip to content

Commit 7f7a16f

Browse files
committed
libmysqlconnectorcpp: hack-fix build with cmake 4
BTW, those are vendored copies of common libs? Ewww
1 parent 328f4a4 commit 7f7a16f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

pkgs/by-name/li/libmysqlconnectorcpp/package.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ stdenv.mkDerivation rec {
1717
hash = "sha256-NqfJPUoQ0doqLmY2dVnZF0GqDwNivArpQxcc8XcfZhU=";
1818
};
1919

20+
postPatch = ''
21+
sed '/^cmake_minimum_required/Is/VERSION [0-9]\.[0-9]/VERSION 3.5/' \
22+
-i ./cdk/extra/protobuf/CMakeLists.txt \
23+
-i ./cdk/extra/lz4/CMakeLists.txt \
24+
-i ./cdk/extra/zstd/CMakeLists.txt
25+
'';
26+
2027
nativeBuildInputs = [
2128
cmake
2229
mysql80

0 commit comments

Comments
 (0)