From e0f539f108128d7acff1203feb42cd2052953002 Mon Sep 17 00:00:00 2001 From: tmbull Date: Mon, 9 Oct 2017 13:16:39 -0500 Subject: [PATCH] Fixing tests. --- servant-foreign/servant-foreign.cabal | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servant-foreign/servant-foreign.cabal b/servant-foreign/servant-foreign.cabal index b4e9794d..94b36d40 100644 --- a/servant-foreign/servant-foreign.cabal +++ b/servant-foreign/servant-foreign.cabal @@ -70,6 +70,10 @@ test-suite spec , hspec >= 2.1.8 , servant , servant-foreign + if !impl(ghc >= 8.0) + build-depends: + semigroups >= 0.16 && < 0.19 + default-language: Haskell2010 default-extensions: ConstraintKinds , DataKinds @@ -83,3 +87,4 @@ test-suite spec , UndecidableInstances , OverloadedStrings , PolyKinds +