Skip to content

Commit a14cd7e

Browse files
authored
Merge pull request #1709 from haskell-servant/maksbotan/fix-build-re-warp
Drop constraint on warp in cabal.project
2 parents 7913a93 + d787984 commit a14cd7e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cabal.project

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,11 @@ tests: True
5353
optimization: False
5454
-- reorder-goals: True
5555

56-
-- The switch to crypton breaks the build, so let's avoid it for now
57-
-- https://github.com/snoyberg/http-client/issues/508
58-
constraints: crypton < 0, crypton-connection < 0, crypton-x509 < 0, crypton-x509-store < 0, crypton-x509-system < 0, crypton-x509-validation < 0
59-
constraints: warp < 3.3.26
56+
-- Older warp versions fail to build with https >= 4.2:
57+
-- Network/Wai/Handler/Warp/HTTP2.hs:48:16: error:
58+
-- Error: • Constructor ‘H2.Config’ does not have the required strict field(s): confMySockAddr,
59+
-- confPeerSockAddr
60+
constraints: http2 <4.2
6061

6162
-- wreq-0.5.4.1 doesn't seem to work with ghc-8.6.5
6263
if (impl(ghc < 8.8))

0 commit comments

Comments
 (0)