Unverified Commit ee9b29d1 authored by Hamed Benazha's avatar Hamed Benazha Committed by GitHub
Browse files

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



Co-authored-by: default avatarXYenon <register@xyenon.bid>
parent 44744035
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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 \