electrs: fix missing metrics feature

With electrs 0.9.0, option `--no-default-features` disables the `metrics`
feature, which brakes electrs option `--monitoring-addr`.

Fix this by removing `--no-default-features`, which is no longer needed
for dynamic linking in 0.9.0.
This commit is contained in:
Erik Arvstedt 2021-09-30 14:25:26 +02:00
parent 7d926946ab
commit 2e13a9cc6d
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -27,7 +27,6 @@ rustPlatform.buildRustPackage rec {
# link rocksdb dynamically
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
cargoBuildFlags = "--no-default-features";
buildInputs = lib.optionals stdenv.isDarwin [ Security ];