Skip to content

Commit 0a954d2

Browse files
authored
Merge pull request #2094 from tweag/cb/drop-old-ghc
Remove GHC versions < 8.10
2 parents a17f199 + edc6673 commit 0a954d2

File tree

5 files changed

+1
-129
lines changed

5 files changed

+1
-129
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
88

99
### Removed
1010

11+
* GHC versions < 8.10 are no longer supported (see https://github.com/tweag/rules_haskell/issues/2093)
1112
* remove `compiler_flags` option which was deprecated since 0.14 from macros and rules
1213
* remove `<name>-repl` aliases for repl targets introduced in 0.7
1314
* remove deprecated nixpkgs platform aliases introduced in 0.13

haskell/assets/ghc_8_6_5_win_base.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

haskell/assets/ghc_8_8_4_win_base.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

haskell/ghc_bindist.bzl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -460,15 +460,6 @@ def ghc_bindist(
460460
toolchain_name = "{}-toolchain".format(name)
461461

462462
patches = None
463-
if target == "windows_amd64":
464-
# Older GHC versions on Windows contain a bug:
465-
# https://gitlab.haskell.org/ghc/ghc/issues/16466
466-
# We work around this by patching the base configuration.
467-
patches = {
468-
"8.6.5": ["@rules_haskell//haskell:assets/ghc_8_6_5_win_base.patch"],
469-
"8.8.4": ["@rules_haskell//haskell:assets/ghc_8_8_4_win_base.patch"],
470-
}.get(version)
471-
472463
if target == "darwin_amd64":
473464
patches = {
474465
# Patch for https://gitlab.haskell.org/ghc/ghc/-/issues/19963

haskell/private/ghc_bindist_generated.json

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,102 +1,4 @@
11
{
2-
"8.2.2": {
3-
"linux_amd64": [
4-
"https://downloads.haskell.org/~ghc/8.2.2/ghc-8.2.2-x86_64-deb8-linux.tar.xz",
5-
"48e205c62b9dc1ccf6739a4bc15a71e56dde2f891a9d786a1b115f0286111b2a"
6-
],
7-
"darwin_amd64": [
8-
"https://downloads.haskell.org/~ghc/8.2.2/ghc-8.2.2-x86_64-apple-darwin.tar.xz",
9-
"f90fcf62f7e0936a6dfc3601cf663729bfe9bbf85097d2d75f0a16f8c2e95c27"
10-
],
11-
"windows_amd64": [
12-
"https://downloads.haskell.org/~ghc/8.2.2/ghc-8.2.2-x86_64-unknown-mingw32.tar.xz",
13-
"1e033df2092aa546e763e7be63167720b32df64f76673ea1ce7ae7c9f564b223"
14-
]
15-
},
16-
"8.4.1": {
17-
"linux_amd64": [
18-
"https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-x86_64-deb8-linux.tar.xz",
19-
"427c77a934b30c3f1de992c38c072afb4323fe6fb30dbac919ca8cb6ae98fbd9"
20-
],
21-
"darwin_amd64": [
22-
"https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-x86_64-apple-darwin.tar.xz",
23-
"d774e39f3a0105843efd06709b214ee332c30203e6c5902dd6ed45e36285f9b7"
24-
],
25-
"windows_amd64": [
26-
"https://downloads.haskell.org/~ghc/8.4.1/ghc-8.4.1-x86_64-unknown-mingw32.tar.xz",
27-
"328b013fc651d34e075019107e58bb6c8a578f0155cf3ad4557e6f2661b03131"
28-
]
29-
},
30-
"8.4.2": {
31-
"linux_amd64": [
32-
"https://downloads.haskell.org/~ghc/8.4.2/ghc-8.4.2-x86_64-deb8-linux.tar.xz",
33-
"246f66eb56f4ad0f1c7755502cfc8f9972f2d067dede17e151f6f479c1f76fbd"
34-
],
35-
"darwin_amd64": [
36-
"https://downloads.haskell.org/~ghc/8.4.2/ghc-8.4.2-x86_64-apple-darwin.tar.xz",
37-
"87469222042b9ac23f9db216a8d4e5107297bdbbb99df71eb4d9e7208455def2"
38-
],
39-
"windows_amd64": [
40-
"https://downloads.haskell.org/~ghc/8.4.2/ghc-8.4.2-x86_64-unknown-mingw32.tar.xz",
41-
"797634aa9812fc6b2084a24ddb4fde44fa83a2f59daea82e0af81ca3dd323fde"
42-
]
43-
},
44-
"8.4.3": {
45-
"linux_amd64": [
46-
"https://downloads.haskell.org/~ghc/8.4.3/ghc-8.4.3-x86_64-deb8-linux.tar.xz",
47-
"30a402c6d4754a6c020e0547f19ae3ac42e907e35349aa932d347f73e421a8e2"
48-
],
49-
"darwin_amd64": [
50-
"https://downloads.haskell.org/~ghc/8.4.3/ghc-8.4.3-x86_64-apple-darwin.tar.xz",
51-
"af0b455f6c46b9802b4b48dad996619cfa27cc6e2bf2ce5532387b4a8c00aa64"
52-
],
53-
"windows_amd64": [
54-
"https://downloads.haskell.org/~ghc/8.4.3/ghc-8.4.3-x86_64-unknown-mingw32.tar.xz",
55-
"8a83cfbf9ae84de0443c39c93b931693bdf2a6d4bf163ffb41855f80f4bf883e"
56-
]
57-
},
58-
"8.4.4": {
59-
"linux_amd64": [
60-
"https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-deb8-linux.tar.xz",
61-
"4c2a8857f76b7f3e34ecba0b51015d5cb8b767fe5377a7ec477abde10705ab1a"
62-
],
63-
"darwin_amd64": [
64-
"https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-apple-darwin.tar.xz",
65-
"28dc89ebd231335337c656f4c5ead2ae2a1acc166aafe74a14f084393c5ef03a"
66-
],
67-
"windows_amd64": [
68-
"https://downloads.haskell.org/~ghc/8.4.4/ghc-8.4.4-x86_64-unknown-mingw32.tar.xz",
69-
"da29dbb0f1199611c7d5bb7b0dd6a7426ca98f67dfd6da1526b033cd3830dc05"
70-
]
71-
},
72-
"8.6.5": {
73-
"linux_amd64": [
74-
"https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-deb8-linux.tar.xz",
75-
"c419fd0aa9065fe4d2eb9a248e323860c696ddf3859749ca96a84938aee49107"
76-
],
77-
"darwin_amd64": [
78-
"https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-apple-darwin.tar.xz",
79-
"dfc1bdb1d303a87a8552aa17f5b080e61351f2823c2b99071ec23d0837422169"
80-
],
81-
"windows_amd64": [
82-
"https://downloads.haskell.org/~ghc/8.6.5/ghc-8.6.5-x86_64-unknown-mingw32.tar.xz",
83-
"457024c6ea43bdce340af428d86319931f267089398b859b00efdfe2fd4ce93f"
84-
]
85-
},
86-
"8.8.4": {
87-
"linux_amd64": [
88-
"https://downloads.haskell.org/~ghc/8.8.4/ghc-8.8.4-x86_64-deb8-linux.tar.xz",
89-
"51a36892f1264744195274187298d13ac62bce2da86d4ddf76d8054ab90f2feb"
90-
],
91-
"darwin_amd64": [
92-
"https://downloads.haskell.org/~ghc/8.8.4/ghc-8.8.4-x86_64-apple-darwin.tar.xz",
93-
"e80a789e9d8cfb41dd87f3284b75432427c4461c1731d220d04ead8733ccdb5e"
94-
],
95-
"windows_amd64": [
96-
"https://downloads.haskell.org/~ghc/8.8.4/ghc-8.8.4-x86_64-unknown-mingw32.tar.xz",
97-
"d185055d2c8dc3bfe5b88afd59d6877eb1e722b672d1c9649f18296e148ed71f"
98-
]
99-
},
1002
"8.10.3": {
1013
"linux_amd64": [
1024
"https://downloads.haskell.org/~ghc/8.10.3/ghc-8.10.3-x86_64-deb9-linux.tar.xz",

0 commit comments

Comments
 (0)