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-09-14 18:30:01 -0400
commit2a15172bde75ec151a52fef586d1e362d478aae8 (patch)
treee94edbbda4b1df22ef6b799f550bd316efd8fae0 /haddock-api
parente514a52a496d1ec216568deec374872b4b5251a6 (diff)
Bump GHC version to 9.1
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..94c6e676 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.1
, 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..fffef2fa 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,1,0) && !MIN_VERSION_ghc(9,2,0)
binaryInterfaceVersion = 34
binaryInterfaceVersionCompatibility :: [Word16]