Configuring library for http-client-tls-0.3.6.4...
Preprocessing library for http-client-tls-0.3.6.4...
Building library for http-client-tls-0.3.6.4...
[1 of 1] Compiling Network.HTTP.Client.TLS ( Network/HTTP/Client/TLS.hs, dist/build/Network/HTTP/Client/TLS.o, dist/build/Network/HTTP/Client/TLS.dyn_o )
Network/HTTP/Client/TLS.hs:118:40: error: [GHC-39999]
• No instance for ‘Default NC.TLSSettings’
arising from a use of ‘def’
• In the first argument of ‘mkManagerSettings’, namely ‘def’
In the expression: mkManagerSettings def Nothing
In an equation for ‘tlsManagerSettings’:
tlsManagerSettings = mkManagerSettings def Nothing
|
118 | tlsManagerSettings = mkManagerSettings def Nothing
| ^^^
Network/HTTP/Client/TLS.hs:192:100: error: [GHC-39999]
• Could not deduce ‘Default NC.TLSSettings’
arising from a use of ‘def’
from the context: MonadIO m
bound by the type signature for:
newTlsManager :: forall (m :: * -> *). MonadIO m => m Manager
at Network/HTTP/Client/TLS.hs:186:1-39
• In the third argument of ‘mkManagerSettingsContext'’, namely
‘def’
In the expression:
mkManagerSettingsContext'
defaultManagerSettings (Just globalConnectionContext) def
msocksHTTP msocksHTTPS
In an equation for ‘settings’:
settings
= mkManagerSettingsContext'
defaultManagerSettings (Just globalConnectionContext) def
msocksHTTP msocksHTTPS
|
192 | settings = mkManagerSettingsContext' defaultManagerSettings (Just globalConnectionContext) def msocksHTTP msocksHTTPS
| ^^^
Network/HTTP/Client/TLS.hs:208:81: error: [GHC-39999]
• Could not deduce ‘Default NC.TLSSettings’
arising from a use of ‘def’
from the context: MonadIO m
bound by the type signature for:
newTlsManagerWith :: forall (m :: * -> *).
MonadIO m =>
ManagerSettings -> m Manager
at Network/HTTP/Client/TLS.hs:202:1-62
• In the third argument of ‘mkManagerSettingsContext'’, namely
‘def’
In the expression:
mkManagerSettingsContext'
set (Just globalConnectionContext) def msocksHTTP msocksHTTPS
In an equation for ‘settings’:
settings
= mkManagerSettingsContext'
set (Just globalConnectionContext) def msocksHTTP msocksHTTPS
|
208 | settings = mkManagerSettingsContext' set (Just globalConnectionContext) def msocksHTTP msocksHTTPS
| ^^^
Error: [Cabal-7125]
Failed to build http-client-tls-0.3.6.4 (which is required by exe:hpack from hpack-0.36.0). See the build log above for details.
setting the install to cabal install hpack --constraint "http-client-tls == 0.3.6.3" got past this issue
setting the install to
cabal install hpack --constraint "http-client-tls == 0.3.6.3"
got past this issueRelated issue in http-client: https://github.com/snoyberg/http-client/issues/547