Skip to content

Commit 59ba332

Browse files
committed
Drop GHC <9.6 from CI
1 parent f1e5456 commit 59ba332

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
This file contains a summary of changes to Haskell.nix and `nix-tools`
22
that will impact users.
33

4+
## Jan 29, 2024
5+
6+
Removed GHC <9.6 from CI.
7+
8+
The latest `nixpkgs-unstable` cause problems with
9+
* GHC 8.10.7
10+
* GHC 9.6.6 mingwW64 (ucrt64 works still as does mingwW64
11+
with newer GHC versions)
12+
413
## Sep 17, 2024
514

615
Cabal projects now use the more granular Unit IDs from plan.json

ci.nix

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@
1818

1919
# short names for nixpkgs versions
2020
nixpkgsVersions = {
21-
"R2205" = inputs.nixpkgs-2205;
22-
"R2211" = inputs.nixpkgs-2211;
23-
"R2305" = inputs.nixpkgs-2305;
24-
"R2311" = inputs.nixpkgs-2311;
25-
"R2405" = inputs.nixpkgs-2405;
2621
"R2411" = inputs.nixpkgs-2411;
2722
"unstable" = inputs.nixpkgs-unstable;
2823
};
@@ -63,10 +58,9 @@
6358
# from here (so that is no longer cached) also remove ./materialized/ghcXXX.
6459
# Update supported-ghc-versions.md to reflect any changes made here.
6560
nixpkgs.lib.optionalAttrs (nixpkgsName == "R2411") {
66-
ghc92 = false;
67-
ghc94 = false;
68-
ghc96 = false;
69-
ghc98 = false;
61+
# TODO perhaps these
62+
# ghc96 = false;
63+
# ghc98 = false;
7064
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
7165
ghc96 = true;
7266
ghc98 = true;

docs/reference/supported-ghc-versions.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22

33
The following GHC versions are defined in `haskell.nix` (there is a derivation
44
for each, though not all are cached or tested by CI):
5-
- 8.4.4
6-
- 8.6.{1,2,3,4,5}
7-
- 8.8.{1,2,3,4}
8-
- 8.10.{1,2,3,4,5}
9-
- 9.0.1
10-
- 9.2.1
11-
- 9.2.2
5+
6+
- 9.6.6 (TH is broken in mingwW64, but ucrt64 works)
7+
- 9.8.4
8+
- 9.10.1
9+
- 9.12.1
10+
11+
8.10.7 may still work with older nixpkgs versions, but is broken for
12+
nixpkgs-unstable.
1213

1314
The following table shows the Nixpkgs/GHC versions which are built/cached, and
1415
which of those are further tested. If you use a combination of Nixpkgs version
@@ -21,13 +22,10 @@ really should use an instance of Nixpkgs provided by `haskell.nix` itself.
2122

2223
| Nixpkgs version | Nixpkgs pinning | GHC version | `compiler-nix-name` | Tested in CI? |
2324
|------------------|--------------------|-------------|-----------------------|---------------|
24-
| 22.05 | `nixpkgs-2205` | 8.6.5 | `ghc865` | No |
25-
| 22.05 | `nixpkgs-2205` | 8.10.7 | `ghc8107` | No |
26-
| unstable | `nixpkgs-unstable` | 8.6.5 | `ghc865` | No |
27-
| unstable | `nixpkgs-unstable` | 8.8.4 | `ghc884` | No |
28-
| unstable | `nixpkgs-unstable` | 8.10.7 | `ghc8107` | Yes |
29-
| unstable | `nixpkgs-unstable` | 9.0.2 | `ghc902` | No |
30-
| unstable | `nixpkgs-unstable` | 9.2.4 | `ghc924` | Yes |
25+
| unstable | `nixpkgs-unstable` | 9.6.6 | `ghc96` or `ghc966` | Yes |
26+
| unstable | `nixpkgs-unstable` | 9.8.4 | `ghc98` or `ghc984` | Yes |
27+
| unstable | `nixpkgs-unstable` | 9.10.1 | `ghc910` or `ghc9101` | Yes |
28+
| unstable | `nixpkgs-unstable` | 9.12.1 | `ghc912` or `ghc9121` | Yes |
3129

3230
See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix)
3331
for the source of truth about what is built and tested (in the off chance this

0 commit comments

Comments
 (0)