yazi-unwrapped: Also use rust-jemalloc-sys on darwin

Co-authored-by: XYenon <register@xyenon.bid>
This commit is contained in:
Hamed Benazha
2024-04-23 13:23:19 +02:00
committed by GitHub
co-authored by XYenon
parent 44744035ff
commit ee9b29d17f
+1 -2
View File
@@ -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 \