From 7a10420bd523dfe1eebdb337492917f7bd4cb433 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Sat, 23 Apr 2022 22:54:37 -0400 Subject: Update for GHC 9.4 --- haddock-api/src/Haddock/InterfaceFile.hs | 4 ++-- haddock.cabal | 2 +- 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, -- cgit v1.2.3