From 4d361e8b684587ea6c7e7b87a175eed0b7c0ada6 Mon Sep 17 00:00:00 2001
From: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date: Thu, 3 Apr 2014 21:16:07 +0100
Subject: Enforce strict GHC version in cabal file

This stops people with 7.6.3 trying to install 2.15.x which clearly
won't work. Unfortunately we shipped 2.14.x without realising this.
---
 haddock.cabal | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/haddock.cabal b/haddock.cabal
index 9f9251d9..0e26949a 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -83,7 +83,7 @@ executable haddock
       array,
       xhtml >= 3000.2 && < 3000.3,
       Cabal >= 1.10,
-      ghc >= 7.7 && < 7.10,
+      ghc == 7.9.*,
       bytestring
 
     other-modules:
@@ -143,7 +143,7 @@ library
     array,
     xhtml >= 3000.2 && < 3000.3,
     Cabal >= 1.10,
-    ghc >= 7.4 && < 7.10
+    ghc == 7.9.*
 
   if flag(in-ghc-tree)
     cpp-options: -DIN_GHC_TREE
-- 
cgit v1.2.3