From 587f01e26f785a39c3ca9a04d8c9c651da9ecd55 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 28 Aug 2025 15:17:28 +0000 Subject: [PATCH] Fix Darwin framework deprecation in Nix build Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com> --- nix/yazi-unwrapped.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/yazi-unwrapped.nix b/nix/yazi-unwrapped.nix index 753c9375..26a133c6 100644 --- a/nix/yazi-unwrapped.nix +++ b/nix/yazi-unwrapped.nix @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ rust-jemalloc-sys - ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Foundation ]); + ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Foundation ]; postInstall = '' installShellCompletion --cmd yazi \