fastnetmon-advanced: fix undefined symbol error

This commit is contained in:
Yureka 2023-05-02 13:27:28 +02:00
parent 823c30089f
commit 82ab4e7314

View File

@ -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