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

View File

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