diff options
author | Orivej Desh <orivej@gmx.fr> | 2020-03-03 08:36:14 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2020-03-03 08:38:19 +0000 |
commit | 24c765c744ba856700db92ab94ef9c695d73f95f (patch) | |
tree | 32d8d323566f2d07724852c61e46a3188ce1a70a | |
parent | 774324ae76e0790b0dd9dd91bb67588f7f8d5d4b (diff) |
clickhouse: fix rpath
ClickHouse sets LINKER_NAME to lld which is not yet wrapped with ld-wrapper.sh
and the results lack rpath needed to use the programs and libraries.
-rw-r--r-- | pkgs/servers/clickhouse/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/clickhouse/default.nix b/pkgs/servers/clickhouse/default.nix index 90cdfc3e7051..31c05f3d0bb3 100644 --- a/pkgs/servers/clickhouse/default.nix +++ b/pkgs/servers/clickhouse/default.nix @@ -26,6 +26,7 @@ stdenv.mkDerivation rec { cmakeFlags = [ "-DENABLE_TESTS=OFF" + "-DLINKER_NAME=gold" # lld is not wrapped with ld-wrapper.sh, does not set rpath. "-DUNBUNDLED=ON" "-DUSE_STATIC_LIBRARIES=OFF" ]; |