yazi-unwrapped: Also use rust-jemalloc-sys on darwin
Co-authored-by: XYenon <register@xyenon.bid>
This commit is contained in:
parent
44744035ff
commit
ee9b29d17f
|
@ -26,8 +26,7 @@ rustPlatform.buildRustPackage rec {
|
|||
env.YAZI_GEN_COMPLETIONS = true;
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [Foundation]
|
||||
++ lib.optionals (!stdenv.isDarwin) [rust-jemalloc-sys];
|
||||
buildInputs = [ rust-jemalloc-sys ] ++ lib.optionals stdenv.isDarwin [ Foundation ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd yazi \
|
||||
|
|
Loading…
Reference in New Issue