Merge pull request #234899 from figsoda/pkg-config
treewide: move pkg-config to nativeBuildInputs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -365,12 +365,12 @@ in stdenv.mkDerivation (commonAttrs // {
|
||||
pname = "swiftpm";
|
||||
|
||||
nativeBuildInputs = commonAttrs.nativeBuildInputs ++ [
|
||||
pkg-config
|
||||
swift
|
||||
swiftpm-bootstrap
|
||||
];
|
||||
buildInputs = [
|
||||
ncursesInput
|
||||
pkg-config
|
||||
sqlite
|
||||
XCTest
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user