Unverified Commit dc7f22eb authored by Thomas Gerbet's avatar Thomas Gerbet Committed by GitHub
Browse files

zizmor: Use system jemalloc (#457092)

parents 187b5fbe 48c7b2bd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  rust-jemalloc-sys,
  installShellFiles,
  nix-update-script,
  rustPlatform,
@@ -21,6 +22,10 @@ rustPlatform.buildRustPackage (finalAttrs: {

  cargoHash = "sha256-4+1EURDrDYG4luaNV9KdRVojXY++H9LNNl2oINfWeLc=";

  buildInputs = [
    rust-jemalloc-sys
  ];

  nativeBuildInputs = lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
    installShellFiles
  ];