fix: Darwin framework deprecation in Nix build (#3119)

Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
This commit is contained in:
Copilot 2025-08-28 23:26:01 +08:00 committed by GitHub
parent 8a0265ad64
commit eb537733a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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