stalwart_0_16: use rust-jemalloc-sys instead of JEMALLOC_SYS_WITH_LG_PAGE

Signed-off-by: David Wronek <david.wronek@mainlining.org>
This commit is contained in:
David Wronek
2026-07-20 10:38:45 +02:00
parent c786bb30ef
commit 534b8e8aad
+3 -7
View File
@@ -16,6 +16,7 @@
python3Packages,
cacert,
libredirect,
rust-jemalloc-sys,
writeTextFile,
withFoundationdb ? false,
stalwartEnterprise ? false,
@@ -71,13 +72,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
ZSTD_SYS_USE_PKG_CONFIG = true;
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
ROCKSDB_LIB_DIR = "${rocksdb}/lib";
}
//
lib.optionalAttrs
(stdenv.hostPlatform.isLinux && (stdenv.hostPlatform.isAarch64 || stdenv.hostPlatform.isArmv7))
{
JEMALLOC_SYS_WITH_LG_PAGE = 16;
};
};
depsBuildBuild = [
pkg-config
@@ -92,6 +87,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildInputs = [
bzip2
openssl
rust-jemalloc-sys
sqlite
zstd
]