diff --git a/ghc-api-compat.cabal b/ghc-api-compat.cabal index dc0f8ac105acc08e36434b98a3700be107003e43..636f93867e0041a0d35eab7c73cc029f9ca302a8 100644 --- a/ghc-api-compat.cabal +++ b/ghc-api-compat.cabal @@ -22,7 +22,7 @@ library ghc >= 8.6, base < 5.0 default-language: Haskell2010 - if impl(ghc >= 9.0) + if impl(ghc >= 8.10.5) reexported-modules: GHC.Platform.AArch64 as CodeGen.Platform.ARM64 @@ -30,7 +30,9 @@ library reexported-modules: GHC.Hs.Types as HsTypes , GHC.Hs.PlaceHolder as PlaceHolder - , GHC.Platform.ARM64 as CodeGen.Platform.ARM64 + if impl(ghc >= 8.10) && impl(ghc < 8.10.5) + reexported-modules: + GHC.Platform.ARM64 as CodeGen.Platform.ARM64 if impl(ghc >= 8.10) reexported-modules: