Maximilian Bosch
e016224a79
swiftPackages.Foundation: fix build w/ glibc-2.38
...
Failing Hydra build: https://hydra.nixos.org/build/236210473
2023-09-27 14:36:44 +02:00
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
Randy Eckenrode
efdf4e9d1f
swift: use stdenv libc++ on Darwin
...
Swift uses libc++ 15, but it should really be using the same libc++ from
the stdenv. While not strictly needed currently, Swift 5.9 will support
C++ interop. If Swift is not using the stdenv C++, any C++ library used
with interop would need to be rebuilt against the Swift libc++.
2023-08-04 22:21:10 -04:00
Weijia Wang
9362b60a80
Merge pull request #234901 from figsoda/flags
...
treewide: convert *Flags to a list
2023-05-30 06:12:27 +03:00
figsoda
f7f0512311
swiftPackages.swift-docc: convert swiftFlags to a list
2023-05-29 20:16:22 -04:00
figsoda
34233107b9
swift-format: convert swiftpmFlags to a list
2023-05-29 20:15:20 -04:00
figsoda
c05fa24286
sourcekit-lsp: move pkg-config to nativeBuildInputs
2023-05-29 19:52:22 -04:00
figsoda
8733c5536e
swiftpm: move pkg-config to nativeBuildInputs
2023-05-29 19:51:01 -04:00
Stéphan Kochen
1f5b379683
swift-format: init at 5.8
2023-05-06 19:40:08 +02:00
Stéphan Kochen
f85d12198f
swift: 5.7.3 -> 5.8
2023-04-30 15:03:20 +02:00
Stéphan Kochen
cc2738c71a
swift: reduce closure size of swift-lib
2023-03-15 19:08:38 +01:00
Felix Buehler
cdb39a86e0
treewide: use optionalString
2023-02-13 21:52:34 +01:00
Stéphan Kochen
72fa71720b
swiftpm: disable -index-store-path Apple extension
2023-02-01 08:29:36 +01:00
Stéphan Kochen
a34a8db902
swift: enable experimental flags to match upstream
2023-02-01 08:29:36 +01:00
Stéphan Kochen
cb959e7018
swift: 5.7 -> 5.7.3
2023-02-01 08:29:35 +01:00
Domen Kožar
cfb80ea275
Merge pull request #211908 from stephank/fix/swift-darwin
...
[staging-next] swift: bootstrap using system stdlib
2023-01-28 11:58:03 +00:00
Stéphan Kochen
7220d26ed5
swift: bootstrap using system stdlib
...
`BOOTSTRAPPING-WITH-HOSTLIBS` is also what official builds use on
Darwin. It's unclear why `BOOTSTRAPPING` was working before, but it is
probably not supported on Darwin to begin with. It was now causing
crashes because of mixing of two copies of stdlib at run-time.
2023-01-22 10:36:11 +01:00
Guillaume Girol
447ca4bf3b
treewide: migrate to nativeCheckInputs
2023-01-21 12:00:00 +00:00
Stéphan Kochen
813c58dab1
swiftPackages.Dispatch: fix linux build
2022-11-21 19:18:10 +01:00
Stéphan Kochen
a567024b44
swift: add canary to verify no compiler dependency
2022-11-21 11:36:18 +01:00
Stéphan Kochen
72ba293675
swift: remove internal wrapperParams arg
2022-11-21 11:15:01 +01:00
Stéphan Kochen
da15d44729
swiftPackages.Foundation: add note about CF
2022-11-21 11:11:29 +01:00
Stéphan Kochen
a4c8c87cb1
swift: remove NIX_BUILD_TOP
2022-11-21 11:04:54 +01:00
Stéphan Kochen
aae355626f
swiftpm: factor out cmake glue installation
2022-11-21 11:04:54 +01:00
toonn
a8f9977c6f
swiftpm: typo fixes
2022-11-21 11:04:54 +01:00
Stéphan Kochen
7d559a3cb3
swiftPackages: update swiftpm2nix generated files
2022-11-21 11:04:54 +01:00
Stéphan Kochen
449e2f1b01
swift: track version in a central sources.nix
2022-11-15 14:24:25 +01:00
toonn
0e08b082b8
swiftpm: improve setup hook shell conditions
2022-11-15 14:24:02 +01:00
Stéphan Kochen
d63aef6c47
swift-docc: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
ce2dd8b8de
sourcekit-lsp: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
dcb0eaf66d
swift-driver: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
ece9224c8a
swiftpm: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
0b877d85e5
swiftPackages.XCTest: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
89f9790858
swiftPackages.Foundation: init at 5.7
2022-10-10 21:26:50 +02:00
Stéphan Kochen
3c54a5dce6
swiftPackages.Dispatch: 5.5 -> 5.7
2022-10-10 21:26:49 +02:00
Stéphan Kochen
8ed924c07a
swift: compiler only build & darwin support
2022-10-10 21:26:47 +02:00
Martin Weinelt
3cedef1b6a
swift: fix build with libxcrypt
2022-10-09 18:14:34 +02:00
Andreas Stührk
4c5110be76
swift: add myself as maintainer
2022-08-22 22:54:53 +02:00
Andreas Stührk
2004e2a97d
swift: 5.5.3 -> 5.6.2
2022-08-22 22:54:52 +02:00
Rick van Schijndel
cd19a0e7b4
swift: mark broken
2022-05-30 13:42:59 +02:00
Ben Siraphob
259fa13d53
treewide: remove nativeBuildInputs that are in stdenv
2022-04-16 21:46:46 +03:00
Felix Buehler
783d2679e5
treewide: rename name to pname&version
2022-03-08 13:24:25 +01:00
Daniel Duan
1b854ecdba
swift: 5.5.2 -> 5.5.3
...
5.5.3 is a patch release specific for Linux and Windows. I build the Nix
expression locally to verify all tests from the toolchain passed.
2022-02-09 22:23:06 -08:00
Daniel Duan
eedda29425
swift: 5.4.2 -> 5.5.2
...
Update Swift version.
2022-01-29 18:42:02 -08:00
Connor Brewster
9ce1ca6400
Use lib.makeLibraryPath
2021-12-08 11:15:13 -06:00
Connor Brewster
7ff4e9a588
swift: Fix libuuid path in LIBRARY_PATH that was causing a test failure
2021-12-07 11:10:30 -06:00
Ryan Burns
cac89e1501
swift: fix build
...
since the linuxHeaders bump to 5.14,
we need to patch out cyclades.h includes
2021-10-22 00:34:30 -07:00
Tom Repetti
b2d4ec4323
swift: 5.1.1 -> 5.4.2
2021-08-10 12:10:43 -04:00
Robert Schütz
3780fbeda2
swift: mark as broken
...
No successful build on Hydra since 2020-12-23.
2021-01-29 22:59:37 +01:00
Robert Schütz
26cde7b2d3
swift: mark as insecure
2021-01-29 22:59:01 +01:00