sourcekit-lsp: move pkg-config to nativeBuildInputs

This commit is contained in:
figsoda 2023-05-29 19:52:22 -04:00
parent 8733c5536e
commit c05fa24286

View File

@ -1,12 +1,12 @@
{ lib
, stdenv
, callPackage
, pkg-config
, swift
, swiftpm
, swiftpm2nix
, Foundation
, XCTest
, pkg-config
, sqlite
, ncurses
, CryptoKit
@ -28,15 +28,13 @@ stdenv.mkDerivation {
inherit (sources) version;
src = sources.sourcekit-lsp;
nativeBuildInputs = [ swift swiftpm ];
nativeBuildInputs = [ pkg-config swift swiftpm ];
buildInputs = [
Foundation
XCTest
pkg-config
sqlite
ncursesInput
]
++ lib.optionals stdenv.isDarwin [ CryptoKit LocalAuthentication ];
] ++ lib.optionals stdenv.isDarwin [ CryptoKit LocalAuthentication ];
configurePhase = generated.configure + ''
swiftpmMakeMutable indexstore-db