fix unused import warning

Network.HTTP.Client exports makeConnection since 0.5.3.

Debian stable has a newer version than 0.5.3, so bumping the
min version seems better than adding an ifdef.
This commit is contained in:
Joey Hess 2020-06-22 10:55:37 -04:00
parent 4c44deb2cd
commit 6ef62cb3c7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 2 additions and 3 deletions

View file

@ -21,8 +21,7 @@ module Utility.HttpManagerRestricted (
) where
import Network.HTTP.Client
import Network.HTTP.Client.Internal
(ManagerSettings(..), Connection, runProxyOverride, makeConnection)
import Network.HTTP.Client.Internal (ManagerSettings(..), Connection, runProxyOverride)
import Network.HTTP.Client.TLS (mkManagerSettingsContext)
import Network.Socket
import Network.BSD (getProtocolNumber)

View file

@ -337,7 +337,7 @@ Executable git-annex
edit-distance,
resourcet,
connection (>= 0.2.6),
http-client (>= 0.5.0),
http-client (>= 0.5.3),
http-client-tls,
http-types (>= 0.7),
http-conduit (>= 2.3.0),