aboutsummaryrefslogtreecommitdiff
path: root/haddock-api
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 /haddock-api
parent22b42eab6ec6b3b321b6d54041b7b3a6e54af3c9 (diff)
Bump GHC version to 9.0
Diffstat (limited to 'haddock-api')
-rw-r--r--haddock-api/haddock-api.cabal2
-rw-r--r--haddock-api/src/Haddock/InterfaceFile.hs2
2 files changed, 2 insertions, 2 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]