nixpkgs/pkgs/development/compilers/swift
Randy Eckenrode e7cf9a7c45
swift: update for cc-wrapper changes
The Swift compiler derivation modifies the clang wrapper to use
`exec -a "$0"` to allow it to use the same binary for both `clang` and
`clang++`. The sed script it uses to do this fails after the cc-wrapper
changes in 6f2b3ba027 were merged.

This is fixed by updating `makeClangWrapper` to work with the cc-wrapper
changes by having Bash invoke a simple script that uses `exec -a "$0"`
to set the required name for clang.

This fixes the staging-next build failures with Swift on Darwin and Linux.

https://github.com/NixOS/nixpkgs/pull/248496#issuecomment-1676831102
2023-08-20 00:17:10 -04:00
..
compiler swift: update for cc-wrapper changes 2023-08-20 00:17:10 -04:00
foundation
libdispatch
sourcekit-lsp sourcekit-lsp: move pkg-config to nativeBuildInputs 2023-05-29 19:52:22 -04:00
swift-docc swiftPackages.swift-docc: convert swiftFlags to a list 2023-05-29 20:16:22 -04:00
swift-driver swift: 5.7.3 -> 5.8 2023-04-30 15:03:20 +02:00
swift-format swift-format: convert swiftpmFlags to a list 2023-05-29 20:15:20 -04:00
swiftpm swiftpm: move pkg-config to nativeBuildInputs 2023-05-29 19:51:01 -04:00
wrapper swift: 5.7.3 -> 5.8 2023-04-30 15:03:20 +02:00
xctest
default.nix swift: use stdenv libc++ on Darwin 2023-08-04 22:21:10 -04:00
sources.nix swift-format: init at 5.8 2023-05-06 19:40:08 +02:00