diff options
-rw-r--r-- | haddock-api/src/Haddock/InterfaceFile.hs | 2 | ||||
-rw-r--r-- | 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 812d6a50..e96ff665 100644 --- a/haddock-api/src/Haddock/InterfaceFile.hs +++ b/haddock-api/src/Haddock/InterfaceFile.hs @@ -82,7 +82,7 @@ binaryInterfaceMagic = 0xD0Cface -- (2) set `binaryInterfaceVersionCompatibility` to [binaryInterfaceVersion] -- binaryInterfaceVersion :: Word16 -#if (__GLASGOW_HASKELL__ >= 811) && (__GLASGOW_HASKELL__ < 813) +#if MIN_VERSION_ghc(8,11,0) && !MIN_VERSION_ghc(8,13,0) binaryInterfaceVersion = 34 binaryInterfaceVersionCompatibility :: [Word16] diff --git a/haddock.cabal b/haddock.cabal index 0d3e9d9f..89156794 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -64,7 +64,7 @@ executable haddock -- haddock typically only supports a single GHC major version build-depends: - base ^>= 4.14.0.0 + base ^>= 4.12.0.0 || ^>= 4.13.0.0 || ^>= 4.14.0.0 if flag(in-ghc-tree) hs-source-dirs: haddock-api/src, haddock-library/src |