From d7879846e1536ec720ac6ebdaf24d2999eeb0bce Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Sun, 1 Oct 2023 14:46:44 +0300 Subject: [PATCH] Constraint http2 <4.2 --- cabal.project | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cabal.project b/cabal.project index 92e697016..2239b77c9 100644 --- a/cabal.project +++ b/cabal.project @@ -53,6 +53,12 @@ tests: True optimization: False -- reorder-goals: True +-- Older warp versions fail to build with https >= 4.2: +-- Network/Wai/Handler/Warp/HTTP2.hs:48:16: error: +-- Error: • Constructor ‘H2.Config’ does not have the required strict field(s): confMySockAddr, +-- confPeerSockAddr +constraints: http2 <4.2 + -- wreq-0.5.4.1 doesn't seem to work with ghc-8.6.5 if (impl(ghc < 8.8)) constraints: wreq == 0.5.4.0