mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
swiftPackages.Dispatch: backport patch for modern LLVM
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
callPackage,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
ninja,
|
||||
useSwift ? true,
|
||||
@@ -31,7 +32,15 @@ stdenv.mkDerivation {
|
||||
swift
|
||||
];
|
||||
|
||||
patches = [ ./disable-swift-overlay.patch ];
|
||||
patches = [
|
||||
# Fix the build with modern Clang.
|
||||
(fetchpatch {
|
||||
url = "https://github.com/swiftlang/swift-corelibs-libdispatch/commit/30bb8019ba79cdae0eb1dc0c967c17996dd5cc0a.patch";
|
||||
hash = "sha256-wPZQ4wtEWk8HaKMfzjamlU6p/IW5EFiTssY63rGM+ZA=";
|
||||
})
|
||||
|
||||
./disable-swift-overlay.patch
|
||||
];
|
||||
|
||||
cmakeFlags = lib.optional useSwift "-DENABLE_SWIFT=ON";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user