From 887a74fd5784727637534d9a6383e2a0719f54ec Mon Sep 17 00:00:00 2001 From: Alexander Sieg Date: Wed, 6 Nov 2024 11:33:04 +0100 Subject: [PATCH] clickhouse: fix compilation on aarch64-linux --- pkgs/servers/clickhouse/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/clickhouse/default.nix b/pkgs/servers/clickhouse/default.nix index 9a6a4e47132c1..609877ae1f9c3 100644 --- a/pkgs/servers/clickhouse/default.nix +++ b/pkgs/servers/clickhouse/default.nix @@ -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 =