22 Commits
Author SHA1 Message Date
Wolfgang Walther 1874b16d38 haskell.compiler.ghc982: drop
Latest 9.8.x minor release is 9.8.4, which is also in Stackage 23.28.

Thus, dropping according to the GHC Deprecation Policy.
2025-09-05 12:23:43 +02:00
sternenseemann 09d584eab5 haskell.compiler.*.ghc.hadrian:only jailbreak directory if necessary 2025-08-12 14:33:01 +02:00
sternenseemann 26dc439eb4 haskell.compiler.ghcHEAD: 9.13.20250428 -> 9.15.20250805
We can safely drop the upper bound for the jailbreak workaround for
directory >= 1.3.9.0 since all GHCs will probably have this constraint
going forward.
2025-08-12 14:33:01 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
sternenseemann 88de1ef84a haskellPackages: Cabal* 3.14.1.* -> 3.14.2.0 2025-04-23 13:31:37 +02:00
Wolfgang Waltherandsternenseemann 6d2cfa967d haskell.compiler.ghc967: init at 9.6.7
Release notes:
https://downloads.haskell.org/ghc/9.6.7/docs/users_guide/9.6.7-notes.html

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2025-03-31 14:02:36 +02:00
sternenseemann d61f72dd7e haskell.compiler.ghcHEAD: 9.13.20250115 -> 9.13.20250205 2025-02-06 15:48:58 +01:00
sternenseemann 707440405d haskellPackages.Cabal_3_14_*: 3.14.1.0 -> 3.14.1.1 2025-01-08 19:30:09 +01:00
sternenseemann 0bbb00e8ee haskellPackages: use Cabal 3.14.1.0 over 3.14.0.0 2024-12-26 15:41:54 +01:00
sternenseemann 740c83e328 haskell.compiler.ghc9121: init at 9.12.1
https://www.haskell.org/ghc/blog/20241216-ghc-9.12.1-released.html
2024-12-22 12:59:32 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
sternenseemann c91c4a0f55 haskell.compiler.ghcHEAD: disable --hyperlinked-source on aarch64
Disable enableHyperlinkedSource for GHC >= 9.11 to keep GHC under the
3GB Hydra output limit. Note that we use a patch as opposed to the new
extraArgs interfaces for the reasons given in the comments added in this
commit.

(cherry picked from commit ec3ec6038a)
2024-11-30 18:18:48 +01:00
Martin Weinelt 46b1474255 Reapply "haskellPackages: update stackage and hackage" (#354547)
This reverts commit 7701a9e6c6, reversing
changes made to 8991dc8e9d.

Restore haskell-updates on staging-next to save resources on hydra.
2024-11-08 18:42:24 +01:00
Vladimír ČunátandGitHub fe6d94b8f9 Revert "haskellPackages: update stackage and hackage" 2024-11-08 18:36:29 +01:00
sternenseemann c409770da8 haskell.compiler.ghcHEAD: 9.11.20240423 -> 9.13.20241031
Unfortunately, it won't be possible to build 9.12 nor, in all
likelihood, 9.14 with Cabal 3.12 or 3.14 (which are shipped with GHC 9.8
and 9.10, respectively) due to
<https://gitlab.haskell.org/ghc/ghc/-/commit/145a6477854d4003a07573d5e7ffa0c9a64ae29c>.
Since this has been confirmed by upstream, we'll have to bite the bullet
and adjust our hadrian bootstrapping logic to deal with that.
Fortunately, we at least have gotten a hackage released version of Cabal
3.14, so we don't need to bootstrap from an in tree Cabal version.
2024-11-01 12:46:35 +01:00
sternenseemann c93aff17d5 haskell.compiler.ghc9{6,8}: apply hadrian patches to shared ghcSrc
This makes the hadrian expressions much simpler as we no longer need to
thread through extra arguments for special workarounds.
common-hadrian.nix decides in one place which patches we need and
directly applies them to the source used to build everything.
2024-04-27 15:03:02 +02:00
sternenseemann 2d02d0d463 haskell.compiler.ghc982: fix bootstrap with GHC 9.6
Bootsrapping with 9.6 doesn't work with 9.8.2 upstream due to erroneous
bounds on Cabal (<https://gitlab.haskell.org/ghc/ghc/-/issues/24100>)
which was planned to be addressed in 9.8.2, but apparently hasn't been,
so we need to extend the range for the workaround patch.
2024-02-26 17:19:02 +01:00
sternenseemann 020ef48076 haskell.compiler.ghc981: allow bootstrapping with GHC 9.6.*
That GHC version should be allowed due to bootstrapping support windows
GHC HQ promises, but isn't possible in practice due to an overly strict
constraint on Cabal in hadrian.
2024-01-07 13:48:41 +01:00
sternenseemann 2ec6f63534 haskell.compiler.ghcHEAD: 9.7.20230527 -> 9.9.20231014 2023-11-06 15:26:58 +01:00
sternenseemann 1eddb04ac9 haskell.compiler.{ghc962,ghcHEAD}: no rendered src on aarch64-linux
This saves just enough space on aarch64-linux so that the hadrian built
GHCs are under the 3GB Hydra output limit:

| compiler | before     | after      | Δ          |
|----------|------------|------------|------------|
| ghc962   | 3241234736 | 2810740560 | -430494176 |
| ghcHEAD  | 3341288328 | 2902760872 | -438527456 |

The total output size can be calculated using (don't forget to use
aarch64-linux):

```
nix-build -A <compiler> | xargs nix path-info -s | awk '{ s += $2 }; END { print s }'
```
2023-07-10 23:14:54 +02:00
Naïm Favierandsternenseemann 9d30031014 haskell.compiler.ghcHEAD: 9.7.20230406 -> 9.7.20230505
https://gitlab.haskell.org/ghc/ghc/-/compare/04b80850...983ce558

Adds support for callbacks to the JS backend.
2023-05-09 18:16:07 +02:00
sternenseemann da60f2dc9c haskell.compiler.ghcHEAD: 9.3.20220406 -> 9.5.20220921
Initial port of our GHC Nix expressions to the new hadrian build system,
as it has become required after 9.4. Unfortunately there are some
regressions affecting us, namely the inability to install a GHC
cross-compiler at the moment (see issue linked in relevant error
message). This means that a lot of specific configuration snippets for
cross-platforms and static compilation have been ported from make
speculatively, as we are unable to test them for the moment.
2022-09-22 16:18:17 +02:00