nix: dont build more unnecessary tests/tools for rocksdb

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-07-14 00:11:37 -04:00
parent 649e9da1f8
commit f0c63c539b

View file

@ -50,9 +50,18 @@
"-DWITH_SNAPPY=1" "-DWITH_SNAPPY=1"
# we dont need to use ldb or sst_dump (core_tools) # we dont need to use ldb or sst_dump (core_tools)
"-DWITH_CORE_TOOLS=1" "-DWITH_CORE_TOOLS=1"
# we dont need to build rocksdb tests
"-DWITH_TESTS=1"
] ]
old.cmakeFlags old.cmakeFlags
++ [ "-DWITH_CORE_TOOLS=0" ]; ++ [
# we dont need to use ldb or sst_dump (core_tools)
"-DWITH_CORE_TOOLS=0"
# we dont need trace tools
"-DWITH_TRACE_TOOLS=0"
# we dont need to build rocksdb tests
"-DWITH_TESTS=0"
];
# outputs has "tools" which we dont need or use # outputs has "tools" which we dont need or use
outputs = [ "out" ]; outputs = [ "out" ];