mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-21 23:01:05 +00:00
fix: Darwin framework deprecation in Nix build (#3119)
Co-authored-by: sxyazi <17523360+sxyazi@users.noreply.github.com>
This commit is contained in:
parent
8a0265ad64
commit
eb537733a2
1 changed files with 1 additions and 2 deletions
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
installShellFiles,
|
installShellFiles,
|
||||||
stdenv,
|
stdenv,
|
||||||
darwin,
|
|
||||||
rust-jemalloc-sys,
|
rust-jemalloc-sys,
|
||||||
|
|
||||||
imagemagick,
|
imagemagick,
|
||||||
|
|
@ -47,7 +46,7 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
rust-jemalloc-sys
|
rust-jemalloc-sys
|
||||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ Foundation ]);
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
installShellCompletion --cmd yazi \
|
installShellCompletion --cmd yazi \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue