swiftPackages.*: build with the default LLVM version

Emily 2153141b 37cad5df

+6 -3
+5 -1
pkgs/development/compilers/swift/compiler/default.nix
··· 467 467 ''; 468 468 469 469 # > clang-15-unwrapped: error: unsupported option '-fzero-call-used-regs=used-gpr' for target 'arm64-apple-macosx10.9.0' 470 - hardeningDisable = lib.optional stdenv.hostPlatform.isAarch64 "zerocallusedregs"; 470 + # > clang-15-unwrapped: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument] 471 + hardeningDisable = lib.optionals stdenv.hostPlatform.isAarch64 [ 472 + "zerocallusedregs" 473 + "stackclashprotection" 474 + ]; 471 475 472 476 configurePhase = '' 473 477 export SWIFT_SOURCE_ROOT="$PWD"
+1 -2
pkgs/development/compilers/swift/default.nix
··· 4 4 newScope, 5 5 darwin, 6 6 llvmPackages, 7 - llvmPackages_15, 8 7 overrideCC, 9 8 overrideLibcxx, 10 9 }: 11 10 12 11 let 13 - swiftLlvmPackages = llvmPackages_15; 12 + swiftLlvmPackages = llvmPackages; 14 13 15 14 self = rec { 16 15