Commit Graph

24752 Commits

Author SHA1 Message Date
Tristan Ross
25e734dcbe flutter326: init at 3.26.0-0.1pre (#347124) 2024-10-11 21:17:37 -04:00
Fabián Heredia Montiel
ccec93c1c7 treewide: replace webkitgtk to webkitgtk_4_0
sed -i 's/ webkitgtk\b/ webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/(webkitgtk\b/(webkitgtk_4_0/g' pkgs/**.nix
sed -i 's/\.webkitgtk\b/.webkitgtk_4_0/g' pkgs/**.nix

webkitgtk is currently pointing to that specific ABI version but the
alias is going to start warning
2024-10-11 17:23:43 -06:00
Nick Cao
0c4b516b28 julia_16-bin: drop 2024-10-11 16:09:12 -04:00
Nick Cao
e957f43d11 julia_111: init at 1.11.0 2024-10-11 16:09:12 -04:00
Nick Cao
89dcf5ffc4 julia_111-bin: init at 1.11.0 2024-10-11 16:09:11 -04:00
Will Leinweber
032dbc02de crystal: 1.12.1 -> 1.14.0 2024-10-11 15:30:14 +02:00
Will Leinweber
47c7b06406 crystal: add llvmPackages passthru and use it for crystalline 2024-10-11 14:57:47 +02:00
Will Leinweber
3bdb1b157e crystal: 1.12.0 -> 1.12.1 2024-10-11 14:57:47 +02:00
Will Leinweber
b1380d9828 crystal: 1.11 -> 1.12 2024-10-11 14:57:46 +02:00
jsz4n
ffbde0e207 vlang: 0.4.4 -> 0.4.8 2024-10-11 11:59:13 +02:00
github-actions[bot]
a45a33309f Merge staging-next into staging 2024-10-11 06:05:14 +00:00
zowoq
05cf0c40b8 go: propagate the apple sdk 2024-10-11 11:42:54 +10:00
Emily
809a7f287b dotnetCorePackages.dotnet_{8,9}: ensure build can find the Swift overlay (#346968) 2024-10-11 01:41:04 +01:00
Emily
3f6c2f29af swift: fix build with the new SDK pattern (#346947) 2024-10-11 01:38:57 +01:00
github-actions[bot]
aa2334f4a8 Merge master into staging-next 2024-10-11 00:14:02 +00:00
Emily
72b50cc3dd gcc: fix build with new SDK pattern (#346949) 2024-10-11 00:58:47 +01:00
Emily
66d78e097f darwin: change the SDK pattern, update the SDKs, and update source releases (#346043) 2024-10-11 00:58:09 +01:00
Nick Cao
41a95526e9 python312Packages.yosys: 0.45 -> 0.46 (#347581) 2024-10-10 18:50:46 -04:00
Randy Eckenrode
f4af7eacc4 swiftpm: use darwinMinVersionHook to set the deployment target 2024-10-10 17:24:27 -04:00
Randy Eckenrode
1279654765 swift: set Foundation to null on Darwin 2024-10-10 17:24:27 -04:00
Randy Eckenrode
9a260e6903 swift: use overrideLibcxx instead of a manual override 2024-10-10 17:24:27 -04:00
Randy Eckenrode
0e9fe46444 swift: drop unnecessary overrides
These are no longer needed with the new Darwin SDK. xcbuild will
automatically use the correct SDK for the stdenv.
2024-10-10 17:24:27 -04:00
Randy Eckenrode
38402a036b swift: update comments 2024-10-10 17:24:27 -04:00
Randy Eckenrode
e50074418d gcc: set up sysroot for the Darwin SDK
The GCC bootstrap builds each stage with an unwrapped GCC, which needs
to correctly handle looking for libraries and headers in sysroot.
Setting the native header folder to `/usr/include` will actually cause
GCC to search `<sysroot>/usr/include`, which is the SDKROOT in nixpkgs.
2024-10-10 17:04:36 -04:00
Randy Eckenrode
a77d0eb819 gcc: fix extraLDFlags logic after undoing staging-next workaroud
The original logic was prepending to the array, but this one prepends
the array to itself, which breaks the x86_64-linux stdenv bootstrap. The
correct thing to do is build up the arguments in a temporary array and
prepend it like the original code was doing.
2024-10-10 17:04:36 -04:00
Randy Eckenrode
34ce30c35a llvmPackages.libllvm: disable tests when built in the Darwin bootstrap
When using the LLVM bootstrap to build LLVM and its libraries,
overriding just LLVM to disable tests during the first build doesn’t
seem to work. This stage name should remain stable, so check for it and
disable tests when building in it.
2024-10-10 16:23:02 -04:00
Randy Eckenrode
18211adceb llvmPackages.libcxx: use a bootstrap stdenv on Darwin
Using a bootstrap stdenv is needed to avoid infinite recursions that
occur due to inputs propagated by SDK that depend on libc++.
2024-10-10 16:23:02 -04:00
Randy Eckenrode
3e5acdacdd llvmPackages.compiler-rt: fix cross-compilation on Darwin
When compiler-rt targets Darwin, it is built with `-target`, which
causes clang to try to invoke `ld` without a target prefix (e.g., it
will try to exec `ld` instead of `x86_64-apple-darwin-ld` on a
cross-build to x86_64-darwin). Specifying `--ld-path` overrides that
behavior, allowing it to find the appropriate cross-linker.
2024-10-10 16:23:02 -04:00
Randy Eckenrode
e6a4c83d20 llvmPackages.compiler-rt: fix compiler-rt bootstrap on Darwin
The first build of compiler-rt in the LLVM bootstrap is build without
libc++ being available, which causes support for the `-g` flag to be
detected incorrectly on Darwin. Overriding the check by specifying that
it’s usable allows the first build of compiler-rt to succeed.
2024-10-10 16:23:01 -04:00
Randy Eckenrode
2fd9a1abeb llvmPackages.compiler-rt: drop use of xcbuild
compiler-rt supports specifying the SDK path and version, so do that to
avoid needing to include `xcrun` as a native build input, which
simplifies the bootstrap.
2024-10-10 16:23:01 -04:00
Randy Eckenrode
7647c6834a llvmPackages.compiler-rt: avoid propagating the SDK in static builds 2024-10-10 16:23:01 -04:00
Randy Eckenrode
654e19fb83 llvmPackages.compiler-rt: always build sanitizers on Darwin
Also enable TSAN since the SDK has xpc. There’s no reason to disable it.
2024-10-10 16:23:01 -04:00
Randy Eckenrode
d3114e05d7 llvmPackages.compiler-rt: align Darwin bootstrap with other platforms
Instead of using overrides in the stdenv bootstrap, Darwin will be
relying on the LLVM bootstrap to build compiler-rt. The only special
handling it needs is to use a stdenv with a bootstrap SDK instead of the
default one (to avoid infinite recursions).
2024-10-10 16:23:01 -04:00
Randy Eckenrode
4dc3227d4c llvmPackages.clang: use the system libunwind on Darwin
While the Darwin stdenv bootstrap sets up its own clang wrappers and
doesn’t provide these wrappers in the final stdenv, it does use them
indirectly via the LLVM bootstrap to build LLVM and its libraries.

Note on using the system libunwind: It is possible to build and use the
LLVM libunwind on Darwin, but using the system by default one ensures
everything is using the same unwinder.
2024-10-10 16:23:01 -04:00
Randy Eckenrode
25c6fe1dc3 llvmPackages.clang: backport __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__
Newer SDKs use this on Darwin. Without it, using the 14.4 and 15.0 SDKs
won’t work with clang 16.
2024-10-10 16:23:01 -04:00
github-actions[bot]
144082b47e Merge staging-next into staging 2024-10-10 18:05:19 +00:00
github-actions[bot]
c64ae284c0 Merge master into staging-next 2024-10-10 18:04:46 +00:00
Emily
2cbc1ca97d llvmPackages_19: fix building libclc, add aliases (#336465) 2024-10-10 17:36:20 +01:00
github-actions[bot]
61a438a474 Merge staging-next into staging 2024-10-10 12:06:10 +00:00
github-actions[bot]
a5883bc172 Merge master into staging-next 2024-10-10 12:05:39 +00:00
Jakub Kozłowski
565db77725 scala{,-next}: add meta.mainProgram (#347455) 2024-10-10 11:16:26 +02:00
github-actions[bot]
9dd7231a1d Merge staging-next into staging 2024-10-10 07:55:12 +00:00
K900
40dd5a1087 Merge remote-tracking branch 'origin/master' into staging-next 2024-10-10 10:49:47 +03:00
Randy Eckenrode
ac31fb7505 gcc: remove staging-next workaround 2024-10-10 01:07:29 -04:00
Randy Eckenrode
15331b1c32 swift: use cctools.libtool directly 2024-10-10 01:07:17 -04:00
Randy Eckenrode
7c0c8fd74a swift: build Swift with associated SDK version
Swift releases are associated with particular Darwin SDK versions. They
don’t _have_ to use that version, but it makes sense to use that version
by default. The deployment target is set to the supported Swift minimum
versions. Unlike C and C++, Swift requires you to availability
annotations, so propagating a newer SDK should be safe.
2024-10-10 01:07:17 -04:00
Randy Eckenrode
083d02ffc4 swift: drop libarclite
libarclite is needed to support ARC on very old deployment targets
(10.10 and older). None of these deployment targets are supported
deployment targets in nixpkgs, especially for Swift. This removes the
need to package the command-line tools executables.
2024-10-10 01:07:17 -04:00
Randy Eckenrode
4d080bdf16 swift: add cctools.libtool as a native build input on Darwin 2024-10-10 01:07:17 -04:00
Randy Eckenrode
1ad3206aea swift: clean up ncurses and libedit references 2024-10-10 01:07:17 -04:00
Randy Eckenrode
cf0003e56f swift: fix build with the new Darwin SDK
Swift’s build makes a few assumptions about how the SDK is set up that
are not true anymore with the new SDK. Fix it to find the SDK at
`$SDKROOT` and copy additional stubs it needs to bootstrap.
2024-10-10 01:07:17 -04:00