vscode-extensions.matklad.rust-analyzer: fix #152285 on aarch64-darwin
The rust-analyzer vscode extension depends on vsce which depends on keytar which needs the AppKit and Security frameworks on Darwin.
This commit is contained in:
parent
3a7d97bff2
commit
fa272718c8
1 changed files with 5 additions and 0 deletions
|
@ -8,6 +8,8 @@
|
|||
, esbuild
|
||||
, pkg-config
|
||||
, libsecret
|
||||
, stdenv
|
||||
, darwin
|
||||
, setDefaultServerPath ? true
|
||||
}:
|
||||
|
||||
|
@ -40,6 +42,9 @@ let
|
|||
jq moreutils esbuild
|
||||
# Required by `keytar`, which is a dependency of `vsce`.
|
||||
pkg-config libsecret
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.AppKit
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
# Follows https://github.com/rust-analyzer/rust-analyzer/blob/41949748a6123fd6061eb984a47f4fe780525e63/xtask/src/dist.rs#L39-L65
|
||||
|
|
Loading…
Reference in a new issue