Merge pull request #234899 from figsoda/pkg-config

treewide: move pkg-config to nativeBuildInputs

authored by Nick Cao and committed by GitHub f97bd7fa 9f5ee707

+4 -6
+3 -5
pkgs/development/compilers/swift/sourcekit-lsp/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , callPackage 4 + , pkg-config 4 5 , swift 5 6 , swiftpm 6 7 , swiftpm2nix 7 8 , Foundation 8 9 , XCTest 9 - , pkg-config 10 10 , sqlite 11 11 , ncurses 12 12 , CryptoKit ··· 28 28 inherit (sources) version; 29 29 src = sources.sourcekit-lsp; 30 30 31 - nativeBuildInputs = [ swift swiftpm ]; 31 + nativeBuildInputs = [ pkg-config swift swiftpm ]; 32 32 buildInputs = [ 33 33 Foundation 34 34 XCTest 35 - pkg-config 36 35 sqlite 37 36 ncursesInput 38 - ] 39 - ++ lib.optionals stdenv.isDarwin [ CryptoKit LocalAuthentication ]; 37 + ] ++ lib.optionals stdenv.isDarwin [ CryptoKit LocalAuthentication ]; 40 38 41 39 configurePhase = generated.configure + '' 42 40 swiftpmMakeMutable indexstore-db
+1 -1
pkgs/development/compilers/swift/swiftpm/default.nix
··· 365 365 pname = "swiftpm"; 366 366 367 367 nativeBuildInputs = commonAttrs.nativeBuildInputs ++ [ 368 + pkg-config 368 369 swift 369 370 swiftpm-bootstrap 370 371 ]; 371 372 buildInputs = [ 372 373 ncursesInput 373 - pkg-config 374 374 sqlite 375 375 XCTest 376 376 ]