about summary refs log tree commit diff
path: root/pkgs/servers/fastnetmon-advanced
diff options
context:
space:
mode:
authorYureka <yuka@yuka.dev>2023-05-02 13:27:28 +0200
committerYureka <yuka@yuka.dev>2023-05-02 15:34:30 +0200
commit82ab4e7314ee59df9086709d58c78cb5a14c3baf (patch)
treee76fafdae408dd823b03b6959f455b8eb655f9d5 /pkgs/servers/fastnetmon-advanced
parent823c30089f45032b0ab393ffdd870ec0599f8187 (diff)
fastnetmon-advanced: fix undefined symbol error
Diffstat (limited to 'pkgs/servers/fastnetmon-advanced')
-rw-r--r--pkgs/servers/fastnetmon-advanced/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/fastnetmon-advanced/default.nix b/pkgs/servers/fastnetmon-advanced/default.nix
index caf87db245eb8..4612892666798 100644
--- a/pkgs/servers/fastnetmon-advanced/default.nix
+++ b/pkgs/servers/fastnetmon-advanced/default.nix
@@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
     ar xf $src
     tar xf data.tar.xz
 
+    # both clickhouse 2.0.0 and 2.3.0 libs are included, without versioning it will by
+    # default choose the first it finds, but we need 2.3.0 otherwise the fastnetmon
+    # binary will be missing symbols
+    rm -r opt/fastnetmon/libraries/libclickhouse_2_0_0
+
     # unused libraries, which have additional dependencies
     rm opt/fastnetmon/libraries/gcc1210/lib/libgccjit.so.0.0.1
     rm opt/fastnetmon/libraries/poco_1_10_0/lib/libPocoCryptod.so.70