aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-07-28 13:06:53 -0400
committerBen Gamari <ben@smart-cactus.org>2020-07-28 15:23:36 -0400
commit28b6b667a4f6cfb79d84ce48b6e4a1dd4592cc21 (patch)
tree1595a3d396dc87d15f09acde998ff2ca548f9105
parent22b42eab6ec6b3b321b6d54041b7b3a6e54af3c9 (diff)
Bump GHC version to 9.0
-rw-r--r--haddock-api/haddock-api.cabal2
-rw-r--r--haddock-api/src/Haddock/InterfaceFile.hs2
-rw-r--r--haddock.cabal4
3 files changed, 4 insertions, 4 deletions
diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal
index 759e12f6..be707166 100644
--- a/haddock-api/haddock-api.cabal
+++ b/haddock-api/haddock-api.cabal
@@ -45,7 +45,7 @@ library
-- this package typically supports only single major versions
build-depends: base ^>= 4.15.0
, Cabal ^>= 2.4.0
- , ghc ^>= 8.11
+ , ghc ^>= 9.0
, ghc-paths ^>= 0.1.0.9
, haddock-library ^>= 1.8.0
, xhtml ^>= 3000.2.2
diff --git a/haddock-api/src/Haddock/InterfaceFile.hs b/haddock-api/src/Haddock/InterfaceFile.hs
index 39de2395..9686de1f 100644
--- a/haddock-api/src/Haddock/InterfaceFile.hs
+++ b/haddock-api/src/Haddock/InterfaceFile.hs
@@ -83,7 +83,7 @@ binaryInterfaceMagic = 0xD0Cface
-- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion]
--
binaryInterfaceVersion :: Word16
-#if MIN_VERSION_ghc(8,11,0) && !MIN_VERSION_ghc(8,13,0)
+#if MIN_VERSION_ghc(9,0,0) && !MIN_VERSION_ghc(9,1,0)
binaryInterfaceVersion = 34
binaryInterfaceVersionCompatibility :: [Word16]
diff --git a/haddock.cabal b/haddock.cabal
index 52113bd1..45acf494 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -33,7 +33,7 @@ bug-reports: https://github.com/haskell/haddock/issues
copyright: (c) Simon Marlow, David Waern
category: Documentation
build-type: Simple
-tested-with: GHC==8.12.*, GHC==8.10.*, GHC==8.8.1
+tested-with: GHC==9.0.*, GHC==8.10.*
extra-source-files:
CHANGES.md
@@ -80,7 +80,7 @@ executable haddock
Cabal >= 1.10,
ghc-boot,
ghc-boot-th,
- ghc == 8.11.*,
+ ghc == 9.0.*,
bytestring,
parsec,
text,