mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
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:
committed by
github-actions[bot]
parent
3aac40a126
commit
7194aa5f4c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user