oha: Use system jemalloc

jemalloc-sys hardcodes the build system's pagesize (#202863), making it
incompatible with systems that don't have the standard 4k page size
(such as Asahi Linux).
This commit is contained in:
re:fi.64
2025-05-22 18:56:17 -05:00
parent daf7a937c9
commit 77c45ea139
+2
View File
@@ -5,6 +5,7 @@
stdenv,
pkg-config,
openssl,
rust-jemalloc-sys,
}:
rustPlatform.buildRustPackage rec {
@@ -27,6 +28,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
openssl
rust-jemalloc-sys
];
# tests don't work inside the sandbox