aboutsummaryrefslogtreecommitdiff
path: root/src/HaskellCodeExplorer
diff options
context:
space:
mode:
authoralexwl <alexey.a.kiryushin@gmail.com>2019-05-08 13:36:33 +0300
committeralexwl <alexey.a.kiryushin@gmail.com>2019-05-08 13:36:33 +0300
commit660e3020f5bbda277278355a861d8e3d6ebeeec8 (patch)
treee5359c9f13db5e3ebe8c4d0fd65ff733db3a95cf /src/HaskellCodeExplorer
parent4ad872ac715e212c2c2c86e4a1a87f9c3a09ee91 (diff)
Add support for GHC 8.6.5
Diffstat (limited to 'src/HaskellCodeExplorer')
-rw-r--r--src/HaskellCodeExplorer/PackageInfo.hs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/HaskellCodeExplorer/PackageInfo.hs b/src/HaskellCodeExplorer/PackageInfo.hs
index 7019221..91028af 100644
--- a/src/HaskellCodeExplorer/PackageInfo.hs
+++ b/src/HaskellCodeExplorer/PackageInfo.hs
@@ -264,7 +264,12 @@ createPackageInfo packageDirectoryPath mbDistDirRelativePath sourceCodePreproces
HCE.ComponentId . T.append "bench-" . T.pack $ name
chComponentNameToComponentId ChSetupHsName = HCE.ComponentId "setup"
-#if MIN_VERSION_GLASGOW_HASKELL(8,6,4,0)
+
+
+#if MIN_VERSION_GLASGOW_HASKELL(8,6,5,0)
+ghcVersion :: Version
+ghcVersion = Version {versionBranch = [8, 6, 5, 0], versionTags = []}
+#elif MIN_VERSION_GLASGOW_HASKELL(8,6,4,0)
ghcVersion :: Version
ghcVersion = Version {versionBranch = [8, 6, 4, 0], versionTags = []}
#elif MIN_VERSION_GLASGOW_HASKELL(8,6,3,0)