diff options
author | Yureka <yuka@yuka.dev> | 2023-07-13 21:13:10 +0200 |
---|---|---|
committer | Yureka <yuka@yuka.dev> | 2023-10-20 14:26:07 +0200 |
commit | 799fff889b1e8058ea392f93400fbbb8923edc86 (patch) | |
tree | 28cfc117799f6f001a606fdc2db0b54c5fd34b78 /pkgs/servers/search | |
parent | 35925e55f2febebf04aca692000b51d4b6365dce (diff) |
tree-wide: make rust jemalloc-sys use nixpkgs jemalloc build
Diffstat (limited to 'pkgs/servers/search')
-rw-r--r-- | pkgs/servers/search/qdrant/default.nix | 6 | ||||
-rw-r--r-- | pkgs/servers/search/quickwit/default.nix | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/pkgs/servers/search/qdrant/default.nix b/pkgs/servers/search/qdrant/default.nix index 005514819820f..6d70b5e4b3dac 100644 --- a/pkgs/servers/search/qdrant/default.nix +++ b/pkgs/servers/search/qdrant/default.nix @@ -5,6 +5,7 @@ , stdenv , pkg-config , openssl +, rust-jemalloc-sys , nix-update-script , Security }: @@ -32,7 +33,10 @@ rustPlatform.buildRustPackage rec { # Needed to get openssl-sys to use pkg-config. OPENSSL_NO_VENDOR = 1; - buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ + openssl + rust-jemalloc-sys + ] ++ lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ protobuf rustPlatform.bindgenHook pkg-config ]; diff --git a/pkgs/servers/search/quickwit/default.nix b/pkgs/servers/search/quickwit/default.nix index 9fdcbef3e7129..f4d75be434ecb 100644 --- a/pkgs/servers/search/quickwit/default.nix +++ b/pkgs/servers/search/quickwit/default.nix @@ -4,6 +4,7 @@ , rustPlatform , nix-update-script , protobuf +, rust-jemalloc-sys , Security }: @@ -32,7 +33,9 @@ rustPlatform.buildRustPackage rec { sourceRoot = "${src.name}/quickwit"; - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; + buildInputs = [ + rust-jemalloc-sys + ] ++ lib.optionals stdenv.isDarwin [ Security ]; cargoLock = { lockFile = ./Cargo.lock; |