From 5ba93082b29a3f231e9440b93df4ffcb0627694f Mon Sep 17 00:00:00 2001 From: Michael Walker Date: Fri, 20 Oct 2017 14:21:46 +0100 Subject: [PATCH] Put semigroups dependency behind a condition --- dejafu/dejafu.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dejafu/dejafu.cabal b/dejafu/dejafu.cabal index ba9eccd..3bca383 100755 --- a/dejafu/dejafu.cabal +++ b/dejafu/dejafu.cabal @@ -66,10 +66,10 @@ library , leancheck >=0.6 && <0.7 , random >=1.0 && <1.2 , ref-fd >=0.4 && <0.5 - -- remove semigroups dep when GHC 8.4 is out - , semigroups >=0.16 && <0.19 , transformers >=0.4 && <0.6 , transformers-base >=0.4 && <0.5 -- hs-source-dirs: default-language: Haskell2010 ghc-options: -Wall + if impl(ghc < 8.0.1) + build-depends: semigroups >=0.16 && <0.19