From eb537733a2c5b09649b56284b74dbdd4e70006ec Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 23:26:01 +0800 Subject: [PATCH] fix: Darwin framework deprecation in Nix build (#3119) Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com> --- nix/yazi-unwrapped.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nix/yazi-unwrapped.nix b/nix/yazi-unwrapped.nix index 753c9375..eb4d0cdf 100644 --- a/nix/yazi-unwrapped.nix +++ b/nix/yazi-unwrapped.nix @@ -7,7 +7,6 @@ installShellFiles, stdenv, - darwin, rust-jemalloc-sys, imagemagick, @@ -47,7 +46,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ rust-jemalloc-sys - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Foundation ]); + ]; postInstall = '' installShellCompletion --cmd yazi \