Fix building with ghc 7.4

This commit is contained in:
Daniel Gröber 2014-08-24 12:05:26 +02:00
parent 42c0e8f913
commit 7a6e37c57a
1 changed files with 3 additions and 0 deletions

View File

@ -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