asm-lsp: migrate to new apple sdk structure
This commit is contained in:
parent
ffeb11e973
commit
8f35517438
@ -5,8 +5,6 @@
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
openssl,
|
||||
darwin,
|
||||
libiconv,
|
||||
}:
|
||||
let
|
||||
pname = "asm-lsp";
|
||||
@ -24,12 +22,7 @@ rustPlatform.buildRustPackage {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs =
|
||||
[ openssl ]
|
||||
++ lib.optionals stdenv.buildPlatform.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
libiconv
|
||||
];
|
||||
buildInputs = lib.optionals (!stdenv.hostPlatform.isDarwin) [ openssl ];
|
||||
|
||||
cargoHash = "sha256-AtCnYOOtViMpg+rz8miuBZg1pENBPaf9kamSPaVUyiw=";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user