electrs: bring back rocksdb dynamic linking

This commit is contained in:
Pavol Rusnak 2021-11-14 00:36:05 +01:00
parent 31cf0a3913
commit 06651404a6
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -24,12 +24,9 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ llvmPackages.clang ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
# temporarily disable dynamic linking, which broke with rocksdb update 6.23.3 -> 6.25.3
# https://github.com/NixOS/nixpkgs/pull/143524#issuecomment-955053331
#
# link rocksdb dynamically
# ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
# ROCKSDB_LIB_DIR = "${rocksdb}/lib";
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];