Merge pull request #105 from felixonmars/patch-2
Depend on nats only on old GHC
commite201edad32bdb2e25ddfccbf653a8a6016440d32
authorOleg Grenrus <oleg.grenrus@iki.fi>
dateSun 30 Aug 2020, 11:46 (6 years ago)
parent192cb857276075
http-api-data.cabal+3−1
@@ -104,12 +104,14 @@ test-suite spec
104104 , bytestring
105105 , cookie
106106 , http-api-data
107− , nats
108107 , text
109108 , time-compat
110109 , unordered-containers
111110 , uuid-types
112111
112+ if !impl(ghc >= 7.10)
113+ build-depends: nats
114+
113115 build-depends: HUnit >= 1.6.0.0 && <1.7
114116 , hspec >= 2.7.1 && <2.8
115117 , QuickCheck >= 2.13.1 && <2.15