From 1797fec3c9109a8b02c782934a8677ce3b6f21ea Mon Sep 17 00:00:00 2001 From: strawberry Date: Sun, 14 Jul 2024 00:38:29 -0400 Subject: [PATCH] nix: disable USE_RTTI for rocksdb Signed-off-by: strawberry --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 8ac5836f..a56d1bc0 100644 --- a/flake.nix +++ b/flake.nix @@ -52,6 +52,8 @@ "-DWITH_CORE_TOOLS=1" # we dont need to build rocksdb tests "-DWITH_TESTS=1" + # we use rust-rocksdb via C interface and dont need C++ RTTI + "-DUSE_RTTI=1" ] old.cmakeFlags ++ [ @@ -61,6 +63,8 @@ "-DWITH_TRACE_TOOLS=0" # we dont need to build rocksdb tests "-DWITH_TESTS=0" + # we use rust-rocksdb via C interface and dont need C++ RTTI + "-DUSE_RTTI=0" ]; # outputs has "tools" which we dont need or use