Skip to content

Commit

Permalink
Make bound for safe dependent in ghc version.
Browse files Browse the repository at this point in the history
safe 0.3.10 is having issues with cabal 1.20 and ghc 7.6.3, the
hvr ghc ppa doesn't provide a new enough cabal library. Temporary
fix until hvr ghc ppa is fixed or we deprecate support for 7.6.3.
  • Loading branch information
Jan de Muijnck-Hughes committed Dec 6, 2016
1 parent a2a823d commit e59d304
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion idris.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ Library
, vector < 0.12
, vector-binary-instances < 0.3
, zip-archive > 0.2.3.5 && < 0.4
, safe >= 0.3.9
, fsnotify >= 0.2 && < 2.2
, async < 2.2

Expand All @@ -302,6 +301,14 @@ Library
else
build-depends: process < 1.5

-- safe 0.3.10 is having issues with cabal 1.20 and ghc 7.6.3, the
-- hvr ghc ppa doesn't provide a new enough cabal library. Temporary
-- fix until hvr ghc ppa is fixed or we deprecate support for 7.6.3.
if impl(ghc < 7.8.4)
build-depends: safe == 0.3.9
else
build-depends: safe >= 0.3.9

Extensions: MultiParamTypeClasses
, DeriveFoldable
, DeriveTraversable
Expand Down

0 comments on commit e59d304

Please sign in to comment.