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:
re:fi.64
2025-02-14 18:24:29 -06:00
parent 5553a77a0a
commit ccb1480d93
+7
View File
@@ -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