Merge pull request #305996 from hbenazha/yazi-unwrapped-asahi
yazi-unwrapped: use system jemalloc
This commit is contained in:
commit
fe18ccaf4e
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user