From 7a6e37c57a48b3f563870ec6f91eba65907d2504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Sun, 24 Aug 2014 12:05:26 +0200 Subject: [PATCH] Fix building with ghc 7.4 --- ghc-mod.cabal | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ghc-mod.cabal b/ghc-mod.cabal index b81784d..5bbac43 100644 --- a/ghc-mod.cabal +++ b/ghc-mod.cabal @@ -117,6 +117,9 @@ Library else Build-Depends: convertible , Cabal >= 1.10 && < 1.17 + if impl(ghc <= 7.4.2) + -- Only used to constrain random to a version that still works with GHC 7.4 + Build-Depends: random <= 1.0.1.1 Executable ghc-mod Default-Language: Haskell2010