From f7a0510047928d781f8548640c3ccc009371d5d1 Mon Sep 17 00:00:00 2001 From: Emily Date: Tue, 9 Sep 2025 18:11:39 +0100 Subject: [PATCH] =?UTF-8?q?swift:=20don=E2=80=99t=20build=20LLVM=20tools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These aren’t required by the build, and fail to compile with the LLVM 21 / Darwin system libc++ changes. --- pkgs/development/compilers/swift/compiler/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/swift/compiler/default.nix b/pkgs/development/compilers/swift/compiler/default.nix index 5de54078f519..5a9b1f54ac82 100644 --- a/pkgs/development/compilers/swift/compiler/default.nix +++ b/pkgs/development/compilers/swift/compiler/default.nix @@ -532,6 +532,7 @@ stdenv.mkDerivation { # - We can further reduce targets to just our targetPlatform. cmakeFlags=" -GNinja + -DLLVM_BUILD_TOOLS=NO -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD=${ {