swift: use clang 12 purity patch

LLVM 14's clang purity patch was removed as it is a duplicate of 12's.
This commit is contained in:
Tristan Ross 2024-08-09 15:20:52 -07:00
parent 4fb416db89
commit f9c6960071
No known key found for this signature in database
GPG Key ID: B09C422035669AF8

View File

@ -304,7 +304,7 @@ in stdenv.mkDerivation {
patch -p1 -d llvm-project/clang -i ${./patches/clang-toolchain-dir.patch}
patch -p1 -d llvm-project/clang -i ${./patches/clang-wrap.patch}
patch -p1 -d llvm-project/clang -i ${../../llvm/14/clang/purity.patch}
patch -p1 -d llvm-project/clang -i ${../../llvm/12/clang/purity.patch}
patch -p2 -d llvm-project/clang -i ${fetchpatch {
name = "clang-cmake-fix-interpreter.patch";
url = "https://github.com/llvm/llvm-project/commit/b5eaf500f2441eff2277ea2973878fb1f171fd0a.patch";