uv: 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:
@@ -4,6 +4,9 @@
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
|
||||
# buildInputs
|
||||
rust-jemalloc-sys,
|
||||
|
||||
# nativeBuildInputs
|
||||
cmake,
|
||||
installShellFiles,
|
||||
@@ -29,6 +32,10 @@ rustPlatform.buildRustPackage rec {
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-dop61TB9w2r+our4DiKzPvw9lI07cx9bT0Ujtvhko1E=";
|
||||
|
||||
buildInputs = [
|
||||
rust-jemalloc-sys
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
installShellFiles
|
||||
|
||||
Reference in New Issue
Block a user