diff options
| author | Randy Eckenrode <randy@largeandhighquality.com> | 2023-08-20 00:17:10 -0400 |
|---|---|---|
| committer | Randy Eckenrode <randy@largeandhighquality.com> | 2023-08-20 00:17:10 -0400 |
| commit | e7cf9a7c458ba188fba69f703c349c22bc42c6f4 (patch) | |
| tree | 4436177370b2c74dc561cc3d1b894c2455a0bff3 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | f6a4c6f91221c4925fcfd28071982e82f656693a (diff) | |
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 6f2b3ba027f0d74614ba1b21f15ea45b0beb0385 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
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
