From d5db73dbbfdc0f6bc6b25c305a712a2ce7e3f21b Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Tue, 6 Dec 2016 09:06:47 +0000 Subject: [PATCH] conditional safe version bounds for ghc --- protolude.cabal | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/protolude.cabal b/protolude.cabal index b211b3774..859d57ef1 100644 --- a/protolude.cabal +++ b/protolude.cabal @@ -64,7 +64,6 @@ library build-depends: base >= 4.6 && <4.10, ghc-prim >= 0.3 && <0.6, - safe >= 0.3 && <0.3.10, async >= 2.0 && <2.2, deepseq >= 1.3 && <1.5, containers >= 0.5 && <0.6, @@ -75,5 +74,12 @@ library stm >= 2.4 && <2.5, bytestring >= 0.10 && <0.11 + if impl(ghc >= 7.8.0) + build-depends: + safe >= 0.3 && <0.4 + else + build-depends: + safe >= 0.3 && <0.3.10 + hs-source-dirs: src default-language: Haskell2010