2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 21:53:32 +00:00
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
swift-docc swiftPackages.swift-docc: convert swiftFlags to a list 2023-05-29 20:16:22 -04:00
swift-driver
swift-format
swiftpm
wrapper
xctest
default.nix swift: use stdenv libc++ on Darwin 2023-08-04 22:21:10 -04:00
sources.nix