about summary refs log tree commit diff
path: root/pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch')
-rw-r--r--pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch b/pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch
deleted file mode 100644
index 9c6cafed3699..000000000000
--- a/pkgs/development/compilers/swift/compiler/patches/clang-wrap.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Wrap the clang produced during the build
-
---- a/tools/driver/CMakeLists.txt
-+++ b/tools/driver/CMakeLists.txt
-@@ -59,6 +59,13 @@ endif()
- 
- add_dependencies(clang clang-resource-headers)
- 
-+# Nix: wrap the clang build.
-+add_custom_command(
-+  TARGET clang POST_BUILD
-+  COMMAND nix-swift-make-clang-wrapper $<TARGET_FILE:clang>
-+  VERBATIM
-+)
-+
- if(NOT CLANG_LINKS_TO_CREATE)
-   set(CLANG_LINKS_TO_CREATE clang++ clang-cl clang-cpp)
- endif()