From de6412caddbc0307144ec8c5e91918e921653d39 Mon Sep 17 00:00:00 2001 From: Olivia Crain Date: Fri, 29 Mar 2024 10:29:38 -0500 Subject: [PATCH] nixseparatedebuginfod: use system jemalloc Currently, this package uses a vendored version of jemalloc by way of the `jemalloc-sys` crate. The vendored version is not compatible with non-4k page sizes on aarch64, but nixpkgs' version of jemalloc is configured for such compatibility. To use nixpkgs' version of jemalloc, we need to pull in the `rust-jemalloc-sys` dependency when building nixseparatedebuginfod. --- pkgs/by-name/ni/nixseparatedebuginfod/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/ni/nixseparatedebuginfod/package.nix b/pkgs/by-name/ni/nixseparatedebuginfod/package.nix index 263f4f736706..7ed8f61bb2c7 100644 --- a/pkgs/by-name/ni/nixseparatedebuginfod/package.nix +++ b/pkgs/by-name/ni/nixseparatedebuginfod/package.nix @@ -3,6 +3,7 @@ , rustPlatform , libarchive , openssl +, rust-jemalloc-sys , sqlite , pkg-config , nixosTests @@ -27,6 +28,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ libarchive openssl + rust-jemalloc-sys sqlite ];