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 +