Commit Graph

24752 Commits

Author SHA1 Message Date
R. Ryantm
9bd38dc947 graalvmPackages.graalvm-ce: 25.0.0 -> 25.0.1 2025-10-23 18:39:01 +00:00
Weijia Wang
55fa66ffe9 julia_110: fix build with cmake 4 2025-10-23 20:08:56 +02:00
Weijia Wang
0f00965306 julia_112{,-bin}: init at 1.12.1 (#450240) 2025-10-23 18:03:50 +00:00
R. Ryantm
65a28e21cd kotlin-native: 2.2.20 -> 2.2.21 2025-10-23 13:49:02 +00:00
R. Ryantm
edadddc826 kotlin: 2.2.20 -> 2.2.21 2025-10-23 13:46:34 +00:00
Sergey Volkov
f99dc0652e julia_112: init at 1.12.1 2025-10-23 15:28:57 +02:00
Sergey Volkov
7aa6e24987 julia_112-bin: init at 1.12.1 2025-10-23 15:28:46 +02:00
Emily
2a59d27e69 haskell.compiler.ghc{948,967,984,9102,9103,9121,9122}: backport patches for LLVM support
LLVM 12–17 have been dropped for Nixpkgs 25.11. As discussed recently
on Matrix, this backports upstream changes to allow the use of
LLVM 20 for all GHC versions from 9.4.8 onward.

I looked over GHC commits mentioning LLVM since the release of 9.4.8,
and read the discussions and issues around the relevant bumps, and
attempted to be quite thorough, but I obviously cannot guarantee that
this is wholly comprehensive. It seems like upstream generally bumps
the upper bound on the basis of “it builds successfully for me”,
with specific adaptations for new versions being fairly uncommon and
only coming for obvious build blockers or reactively in response to
bug reports. I have backported both kinds of changes here.

For some commits, trivial conflict resolutions and adaptations
were required. It would be possible to pass the affected files to
`fetchpatch` as `excludes` and keep smaller fix‐up patches in tree in
some cases, but I opted to keep it simple and vendor complete backport
patches instead. I did not attempt to backport every single change to
the LLVM backend, only those that seemed directly relevant to support
for newer versions; if you’d get the same issue with the older LLVM,
that’s just a GHC bug.

These changes should actually make it easier to cross‐compile for
new architectures, as more recent LLVMs will have better support for
newer platforms, and it will be easier to backport GHC changes to
enable new platforms with less drift in the backend.

These patches do result in two breaking changes. Firstly, the minimum
LLVM version is bumped to 13 across the board. This is irrelevant for
Nixpkgs as we pin a specific LLVM version anyway, and versions below
LLVM 18 will be removed imminently. Secondly, support for the hidden
`-fno-llvm-tbaa` flag is dropped. This can be replaced with custom
`-optlo` flags to control the passes more directly, but the main
use of this undocumented flag appears to have been to [work around]
the lack of support for newer LLVM versions, anyway.

[work around]: <https://gitlab.haskell.org/ghc/ghc/-/issues/22220>

I successfully built the following on `aarch64-linux`:

* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc948`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc967`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc984`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9102`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9121`
* `pkgsCross.armv7l-hf-multiplatform.buildPackages.haskell.compiler.ghc9122`
* `pkgsCross.riscv64.haskell.compiler.ghc948`

The GHC 9.4.8 with an ARMv7 host platform segfaults when I try to run
GHC, though e.g. `ghc-pkg --help` runs successfully. The GHC 9.10.3
build targeting ARMv7 crashed inside `llc(1)`, so I tried RISC‐V,
which has some platform mismatch issue relating to `libffi`, so I
tried z/Architecture, which failed with an invalid floating point
constant in the LLVM IR, so I tried 64‐bit MIPS, which failed with
a different `libffi` issue, so I tried 32‐bit MIPS, which failed
to compile `compiler-rt`, so I gave up. I confirmed that both of the
ARMv7 issues reproduce with 944e8fd4f4,
the revision before they were bumped from their old versions of LLVM,
so these are not regressions.

I built a test program with the ARMv7 cross‐compilers and
confirmed that they run on the AArch64 builder. I also confirmed
that the cross‐compiled RISC‐V GHC successfully runs under
`qemu-riscv64(1)`. It will only try to build programs via the C
backend, though, as that is the only option for unregisterised™
targets, so it’s not clear to me how useful LLVM support in 9.4.8
really is for bootstrapping new platforms; I guess even RISC‐V
would require more backporting work to produce a cross‐compiled
GHC that will use LLVM to compile its own input. I didn’t bother
setting up all the binfmt machinery to get it through compiling and
running a test program, but it at least makes the attempt.

(cherry picked from commit b6be8a03a7)
2025-10-23 10:42:16 +02:00
Emily
fc742b53b9 haskell.compiler.ghc948: don’t patch both aclocal.m4 and configure
`autoreconfHook` will handle the latter now.

(cherry picked from commit 5923f1f1e2)
2025-10-23 10:42:15 +02:00
Emily
96a8023166 haskell.compiler.ghc948: use autoreconfHook
This matches the Hadrian build, and will be required for the LLVM
support backports.

(cherry picked from commit 6664f3137c)
2025-10-23 10:42:14 +02:00
Emily
b9a4cdcafd haskell.compiler.ghc948: drop obsolete configure patch
This string is not present in GHC 9.4.8’s `configure` script.

(cherry picked from commit 7d28e619b4)
2025-10-23 10:42:11 +02:00
nixpkgs-ci[bot]
e5545080a0 Merge staging-next into staging 2025-10-23 06:07:20 +00:00
nixpkgs-ci[bot]
5f8a5c0c89 Merge 22bb9b3079 into haskell-updates 2025-10-23 00:21:42 +00:00
Rafael Ieda
0449e34b11 mozart2: fix build with cmake4 2025-10-22 19:09:06 -03:00
Alyssa Ross
c2793df8a4 rust: 1.89.0 -> 1.90.0 (#451179) 2025-10-22 13:07:33 +00:00
Vladimír Čunát
d560d72dd2 Merge branch 'master' into staging 2025-10-22 08:47:06 +02:00
R. Ryantm
91d6bbeb76 graalvmPackages.graalpy: 25.0.0 -> 25.0.1 2025-10-22 01:48:01 +00:00
Johannes Müller
436f350193 Crystal 1.18.2 2025-10-21 21:10:36 +02:00
Ross Smyth
4290359712 idris2: Put prelude in seperate derivation 2025-10-21 12:47:02 -04:00
Ross Smyth
fa2c3ecdc4 idris2: Make a compiler pkgset 2025-10-21 12:45:50 -04:00
Ross Smyth
103a616068 idris2: Modernize derivation 2025-10-21 12:45:50 -04:00
Ross Smyth
8496210f3d idris2: Move to by-name 2025-10-21 12:45:50 -04:00
nixpkgs-ci[bot]
5c8ce67f93 Merge f1d065ea27 into haskell-updates 2025-10-21 00:22:00 +00:00
nixpkgs-ci[bot]
fbf36b2dfd Merge staging-next into staging 2025-10-20 18:06:46 +00:00
nixpkgs-ci[bot]
fb4a94b345 Merge master into staging-next 2025-10-20 18:06:02 +00:00
Tristan Ross
0274b44151 llvmPackages_git: 22.0.0-unstable-2025-10-12 -> 22.0.0-unstable-2025-… (#453712) 2025-10-20 16:56:42 +00:00
K900
783ae0cc42 Merge remote-tracking branch 'origin/staging-next' into staging 2025-10-20 10:25:54 +03:00
K900
90a6faa0f6 Merge remote-tracking branch 'origin/master' into staging-next 2025-10-20 10:21:06 +03:00
Wolfgang Walther
9f65b38580 maintainers: drop maggesi (#451767) 2025-10-20 07:08:42 +00:00
Tristan Ross
f034d78f5c llvmPackages_git: 22.0.0-unstable-2025-10-12 -> 22.0.0-unstable-2025-10-19 2025-10-19 21:22:04 -07:00
sternenseemann
fff7102075 Merge commit 257aa2b046 into haskell-updates 2025-10-19 01:21:52 +02:00
sternenseemann
2c9b970413 Merge branch staging-next into staging 2025-10-19 01:15:26 +02:00
nixpkgs-ci[bot]
197fb0a1cf Merge master into staging-next 2025-10-18 23:12:14 +00:00
sternenseemann
3bd7971889 haskell.compiler.ghc{948,967,984,9102,9103,9121,9122}: backport patches for LLVM support (#440774) 2025-10-18 23:05:44 +00:00
Wolfgang Walther
683d4c3bef ocamlPackages: fix eval and let ci check that it still evals (#406555) 2025-10-18 20:32:43 +00:00
jopejoe1
1e1cef625b ocamlPackages: swap throws to meta.broken
throws no longer work with the current ci we have in nixpkgs
2025-10-18 22:23:06 +02:00
7c6f434c
9233a4e95b sbcl: 2.5.7 -> 2.5.9 (#453099) 2025-10-18 19:57:52 +00:00
Johannes Müller
b5012be058 crystal_1_18: init at 1.18.1 2025-10-18 12:05:21 +02:00
Jan Tojnar
899fd8a26c treewide: Comment out webkitgtk_4_0
`webkitgtk_4_0` was already transitively insecure because of `libsoup_2_4` and it will be removed soon.

Ideally, we would just replace it with `libsoup_3`-based `webkitgtk_4_1`
but it is unclear if they would work with the 4.1 ABI. At best, the programs
would only be looking for 4.0, failing to build or start, at worst there
might be conflicts with libsoup 2 symbols if that is pulled in by anything
or crashes that will only happen after certain action.

Let’s mark the packages as broken to ensure human intervention.
2025-10-18 03:05:26 +02:00
nixpkgs-ci[bot]
e7a6089860 Merge a1e822ab3b into haskell-updates 2025-10-18 00:19:56 +00:00
Wolfgang Walther
822d27c8cd maintainers: drop maggesi
Inactive since 2019/2020.
2025-10-17 09:21:39 +02:00
Vladimír Čunát
2db716f768 Merge branch 'staging-next' into staging 2025-10-17 09:15:33 +02:00
Hraban Luyat
bf0d024cad sbcl: 2.5.7 -> 2.5.9 2025-10-16 22:34:53 -04:00
Luna Nova
0c7e14e688 gcc: disable enableDefaultPie when !hasSharedLibraries
In discussion on #439314 conditionalizing this seemed unnecessary
as pkgsStatic's gcc kept working. However, some less typical
!hasSharedLibraries stdenvs for embedded platforms broke.

It seems simplest to make this conditional on hasSharedLibraries for
now. We may need to revisit this if we want to enable static-pie by
default with gcc spec file changes.
2025-10-16 18:09:55 -07:00
nixpkgs-ci[bot]
a9cd171877 Merge master into staging-next 2025-10-17 00:16:42 +00:00
Sandro
c6a008700f jetbrains.jdk: 21.0.8b1140.54 -> 21.0.8b1148.57 (#449963) 2025-10-16 20:52:09 +00:00
David McFarland
8f1f96255b dotnet: october 2025 releases (#452225) 2025-10-16 18:50:00 +00:00
nixpkgs-ci[bot]
def5232766 Merge master into staging-next 2025-10-16 18:05:40 +00:00
Alyssa Ross
0015e09cae llvmPackages_git: 22.0.0-unstable-2025-10-05 -> 22.0.0-unstable-2025-… (#451561) 2025-10-16 12:29:19 +00:00
nixpkgs-ci[bot]
6e13d0ef0a Merge 7d4c6daffb into haskell-updates 2025-10-16 00:21:40 +00:00