Merge pull request #261866 from eraserhd/kak-lsp-CoreServices-fix

kak-lsp: fix build on Darwin
This commit is contained in:
Weijia Wang 2023-10-18 21:29:07 +02:00 committed by GitHub
commit cb611c70ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform, Security, SystemConfiguration }:
{ stdenv, lib, fetchFromGitHub, rustPlatform, CoreServices, Security, SystemConfiguration }:
rustPlatform.buildRustPackage rec {
pname = "kak-lsp";
@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-g63Kfi4xJZO/+fq6eK2iB1dUGoSGWIIRaJr8BWO/txM=";
buildInputs = lib.optionals stdenv.isDarwin [ Security SystemConfiguration ];
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices Security SystemConfiguration ];
meta = with lib; {
description = "Kakoune Language Server Protocol Client";

View file

@ -9734,7 +9734,7 @@ with pkgs;
kaffeine = libsForQt5.callPackage ../applications/video/kaffeine { };
kak-lsp = callPackage ../tools/misc/kak-lsp {
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
inherit (darwin.apple_sdk.frameworks) CoreServices Security SystemConfiguration;
};
kakoune-cr = callPackage ../tools/misc/kakoune-cr { crystal = crystal_1_2; };