aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-04-23 22:54:37 -0400
committerBen Gamari <ben@smart-cactus.org>2022-04-23 22:54:37 -0400
commit7a10420bd523dfe1eebdb337492917f7bd4cb433 (patch)
treefca3e2e90946a028afaf20be61443498bceeebff
parentfb0e9bac0a5297f995b151f25aa1ce3e622e12ea (diff)
Update for GHC 9.4
-rw-r--r--haddock-api/src/Haddock/InterfaceFile.hs4
-rw-r--r--haddock.cabal2
2 files changed, 3 insertions, 3 deletions
diff --git a/haddock-api/src/Haddock/InterfaceFile.hs b/haddock-api/src/Haddock/InterfaceFile.hs
index 9c4308a6..db5181c6 100644
--- a/haddock-api/src/Haddock/InterfaceFile.hs
+++ b/haddock-api/src/Haddock/InterfaceFile.hs
@@ -85,8 +85,8 @@ binaryInterfaceMagic = 0xD0Cface
-- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion]
--
binaryInterfaceVersion :: Word16
-#if MIN_VERSION_ghc(9,3,0) && !MIN_VERSION_ghc(9,4,0)
-binaryInterfaceVersion = 39
+#if MIN_VERSION_ghc(9,4,0) && !MIN_VERSION_ghc(9,5,0)
+binaryInterfaceVersion = 40
binaryInterfaceVersionCompatibility :: [Word16]
binaryInterfaceVersionCompatibility = [binaryInterfaceVersion]
diff --git a/haddock.cabal b/haddock.cabal
index dfb4e9a9..5c09f80d 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -81,7 +81,7 @@ executable haddock
xhtml >= 3000.2 && < 3000.3,
ghc-boot,
ghc-boot-th,
- ghc == 9.3.*,
+ ghc == 9.4.*,
bytestring,
parsec,
text,