sourcekit-lsp: move pkg-config to nativeBuildInputs
This commit is contained in:
parent
8733c5536e
commit
c05fa24286
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user