Fix Darwin framework deprecation in Nix build

Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2025-08-28 15:17:28 +00:00
parent 108150efb9
commit 587f01e26f

View file

@ -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 \