From b8fb12c50e34748489dc64faa43dbdb8af77383e Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Wed, 7 Dec 2022 08:46:21 -0500 Subject: [PATCH] Update for GhC 9.6 --- haddock-api/src/Haddock/InterfaceFile.hs | 2 +- haddock.cabal | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haddock-api/src/Haddock/InterfaceFile.hs b/haddock-api/src/Haddock/InterfaceFile.hs index 9c2c873656..e12ba1925f 100644 --- a/haddock-api/src/Haddock/InterfaceFile.hs +++ b/haddock-api/src/Haddock/InterfaceFile.hs @@ -123,7 +123,7 @@ binaryInterfaceMagic = 0xD0Cface -- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion] -- binaryInterfaceVersion :: Word16 -#if MIN_VERSION_ghc(9,5,0) && !MIN_VERSION_ghc(9,6,0) +#if MIN_VERSION_ghc(9,6,0) && !MIN_VERSION_ghc(9,7,0) binaryInterfaceVersion = 42 binaryInterfaceVersionCompatibility :: [Word16] diff --git a/haddock.cabal b/haddock.cabal index 81d1db39dc..cbb6fc9f47 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -83,7 +83,7 @@ executable haddock xhtml >= 3000.2 && < 3000.3, ghc-boot, ghc-boot-th, - ghc == 9.5.*, + ghc == 9.6.*, bytestring, parsec, text, -- GitLab