clickhouse: fix build w/ glibc-2.44

`struct open_how` is actually defined now, even though the value is set
to false.

Failing Hydra build: https://hydra.nixos.org/build/344143757
This commit is contained in:
Maximilian Bosch
2026-09-09 11:50:57 +02:00
parent ee3cffdbb7
commit 256511bd01

View File

@@ -130,6 +130,9 @@ llvmStdenv.mkDerivation (finalAttrs: {
postPatch = ''
patchShebangs src/ utils/
substituteInPlace contrib/liburing-cmake/CMakeLists.txt \
--replace-fail "set (LIBURING_CONFIG_HAS_OPEN_HOW FALSE)" "set (LIBURING_CONFIG_HAS_OPEN_HOW TRUE)"
''
+ lib.optionalString stdenv.hostPlatform.isDarwin ''
substituteInPlace cmake/tools.cmake \