swiftPackages.sourcekit-lsp: backport patch for modern LLVM

Emily 1474a620 828d2d79

Changed files
+7
pkgs
development
compilers
swift
sourcekit-lsp
+7
pkgs/development/compilers/swift/sourcekit-lsp/default.nix
···
configurePhase = generated.configure + ''
swiftpmMakeMutable indexstore-db
patch -p1 -d .build/checkouts/indexstore-db -i ${./patches/indexstore-db-macos-target.patch}
swiftpmMakeMutable swift-tools-support-core
patch -p1 -d .build/checkouts/swift-tools-support-core -i ${
···
configurePhase = generated.configure + ''
swiftpmMakeMutable indexstore-db
patch -p1 -d .build/checkouts/indexstore-db -i ${./patches/indexstore-db-macos-target.patch}
+
patch -p1 -d .build/checkouts/indexstore-db -i ${
+
# Fix the build with modern Clang.
+
fetchpatch {
+
url = "https://github.com/swiftlang/indexstore-db/commit/6120b53b1e8774ef4e2ad83438d4d94961331e72.patch";
+
hash = "sha256-tMAfTIa3RKiA/jDtP02mHcpPaF2s9a+3q/PLJxqn30M=";
+
}
+
}
swiftpmMakeMutable swift-tools-support-core
patch -p1 -d .build/checkouts/swift-tools-support-core -i ${