Skip to content

Commit d787984

Browse files
committed
Constraint http2 <4.2
1 parent 28fb721 commit d787984

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cabal.project

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ tests: True
5353
optimization: False
5454
-- reorder-goals: True
5555

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
61+
5662
-- wreq-0.5.4.1 doesn't seem to work with ghc-8.6.5
5763
if (impl(ghc < 8.8))
5864
constraints: wreq == 0.5.4.0

0 commit comments

Comments
 (0)