zizmor: Use system jemalloc (#457092)

This commit is contained in:
Thomas Gerbet
2025-10-31 11:23:54 +00:00
committed by GitHub

View File

@@ -2,6 +2,7 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
rust-jemalloc-sys,
installShellFiles, installShellFiles,
nix-update-script, nix-update-script,
rustPlatform, rustPlatform,
@@ -21,6 +22,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-4+1EURDrDYG4luaNV9KdRVojXY++H9LNNl2oINfWeLc="; cargoHash = "sha256-4+1EURDrDYG4luaNV9KdRVojXY++H9LNNl2oINfWeLc=";
buildInputs = [
rust-jemalloc-sys
];
nativeBuildInputs = lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [ nativeBuildInputs = lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
installShellFiles installShellFiles
]; ];