mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
yazi-unwrapped: use system jemalloc
This commit is contained in:
parent
bd509c2fec
commit
44744035ff
@ -5,6 +5,7 @@
|
||||
, installShellFiles
|
||||
, stdenv
|
||||
, Foundation
|
||||
, rust-jemalloc-sys
|
||||
|
||||
, nix-update-script
|
||||
}:
|
||||
@ -25,7 +26,8 @@ rustPlatform.buildRustPackage rec {
|
||||
env.YAZI_GEN_COMPLETIONS = true;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Foundation ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [Foundation]
|
||||
++ lib.optionals (!stdenv.isDarwin) [rust-jemalloc-sys];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd yazi \
|
||||
|
Loading…
Reference in New Issue
Block a user