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
+2 -1
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 \