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).

(cherry picked from commit 77c45ea139)
This commit is contained in:
re:fi.64
2025-05-22 18:56:17 -05:00
committed by github-actions[bot]
parent 3aac40a126
commit 7194aa5f4c

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