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

View File

@ -117,6 +117,9 @@ Library
else else
Build-Depends: convertible Build-Depends: convertible
, Cabal >= 1.10 && < 1.17 , 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 Executable ghc-mod
Default-Language: Haskell2010 Default-Language: Haskell2010