Merge pull request #305996 from hbenazha/yazi-unwrapped-asahi

yazi-unwrapped: use system jemalloc
This commit is contained in:
Aleksana 2024-04-24 17:14:11 +08:00 committed by GitHub
commit fe18ccaf4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@
, installShellFiles
, stdenv
, Foundation
, rust-jemalloc-sys
, nix-update-script
}:
@ -25,7 +26,7 @@ rustPlatform.buildRustPackage rec {
env.YAZI_GEN_COMPLETIONS = true;
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
buildInputs = [ rust-jemalloc-sys ] ++ lib.optionals stdenv.isDarwin [ Foundation ];
postInstall = ''
installShellCompletion --cmd yazi \