aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-07-20 17:54:43 +0100
committerIan Lynagh <igloo@earth.li>2012-07-20 17:54:43 +0100
commit26742dface2c2144c86447d760875582cc962f4f (patch)
tree4f59af1e06dc0a4ea61790d08214cbee85ed4711
parent7f164839d8b0b6e53fa0f15d2a6810ca310e337d (diff)
Build with GHC 7.7
-rw-r--r--haddock.cabal4
-rw-r--r--src/Haddock/InterfaceFile.hs4
2 files changed, 6 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 1b7eb513..e133e51e 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -91,7 +91,7 @@ executable haddock
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc >= 7.4 && < 7.6
+ ghc >= 7.4 && < 7.8
if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
@@ -153,7 +153,7 @@ library
array,
xhtml >= 3000.2 && < 3000.3,
Cabal >= 1.10,
- ghc >= 7.4 && < 7.6
+ ghc >= 7.4 && < 7.8
if flag(in-ghc-tree)
cpp-options: -DIN_GHC_TREE
diff --git a/src/Haddock/InterfaceFile.hs b/src/Haddock/InterfaceFile.hs
index 970093df..a07b1b03 100644
--- a/src/Haddock/InterfaceFile.hs
+++ b/src/Haddock/InterfaceFile.hs
@@ -73,6 +73,10 @@ binaryInterfaceVersion = 20
binaryInterfaceVersion = 20
#elif __GLASGOW_HASKELL__ == 705
binaryInterfaceVersion = 20
+#elif __GLASGOW_HASKELL__ == 706
+binaryInterfaceVersion = 20
+#elif __GLASGOW_HASKELL__ == 707
+binaryInterfaceVersion = 20
#else
#error Unknown GHC version
#endif