Skip to content

Commit

Permalink
clickhouse: fix compilation on aarch64-linux
Browse files Browse the repository at this point in the history
(cherry picked from commit 887a74f)
  • Loading branch information
xanderio authored and github-actions[bot] committed Nov 9, 2024
1 parent bb824c6 commit 9634e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/servers/clickhouse/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,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 =
Expand Down

0 comments on commit 9634e12

Please sign in to comment.