matrix-conduit: link against system rocksdb
This commit is contained in:
parent
1f6f9d95c6
commit
aeea71595e
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitLab, stdenv, darwin, nixosTests }:
|
{ lib, rustPlatform, fetchFromGitLab, stdenv, darwin, nixosTests, rocksdb_6_23 }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "matrix-conduit";
|
pname = "matrix-conduit";
|
||||||
|
@ -30,6 +30,9 @@ rustPlatform.buildRustPackage rec {
|
||||||
darwin.apple_sdk.frameworks.Security
|
darwin.apple_sdk.frameworks.Security
|
||||||
];
|
];
|
||||||
|
|
||||||
|
ROCKSDB_INCLUDE_DIR = "${rocksdb_6_23}/include";
|
||||||
|
ROCKSDB_LIB_DIR = "${rocksdb_6_23}/lib";
|
||||||
|
|
||||||
# tests failed on x86_64-darwin with SIGILL: illegal instruction
|
# tests failed on x86_64-darwin with SIGILL: illegal instruction
|
||||||
doCheck = !(stdenv.isx86_64 && stdenv.isDarwin);
|
doCheck = !(stdenv.isx86_64 && stdenv.isDarwin);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue