clickhouse: fix compilation on aarch64-linux

This commit is contained in:
Alexander Sieg 2024-11-06 11:33:04 +01:00
parent 3537d187a2
commit 887a74fd57

View File

@ -178,7 +178,8 @@ in mkDerivation rec {
"-DENABLE_TESTS=OFF"
"-DCOMPILER_CACHE=disabled"
"-DENABLE_EMBEDDED_COMPILER=ON"
];
] ++
lib.optional (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) "-DNO_ARMV81_OR_HIGHER=1";
env = {
NIX_CFLAGS_COMPILE =