mirror of
https://github.com/ilyakooo0/docker-hs.git
synced 2024-09-11 10:35:29 +03:00
Update dependencies to work with the stack lts-9 resolver
This commit is contained in:
parent
6e19bc85c4
commit
630d490ec3
@ -24,6 +24,7 @@ services:
|
||||
env:
|
||||
- GHCVER=7.10 STACK_ARGS=""
|
||||
- GHCVER=8.0 STACK_ARGS=""
|
||||
- GHCVER=8.0.2 STACK_ARGS=""
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -1,5 +1,9 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 0.4.0.2 (2017-09-19)
|
||||
|
||||
- Support LTS 9.4
|
||||
|
||||
## 0.4.0.1 (2017-06-29)
|
||||
|
||||
- fixes omKillDisable parsing from json
|
||||
@ -13,7 +17,6 @@
|
||||
- Added support for streaming log output
|
||||
- Added support for pulling images from the hub (and streaming the output)
|
||||
|
||||
|
||||
## 0.3.0.1 (2016-09-07)
|
||||
|
||||
- Small cosmetic changes and marking OVERLAPPING instance
|
||||
|
14
docker.cabal
14
docker.cabal
@ -1,5 +1,5 @@
|
||||
name: docker
|
||||
version: 0.4.0.1
|
||||
version: 0.4.0.2
|
||||
synopsis: An API client for docker written in Haskell
|
||||
description: See API documentation below.
|
||||
homepage: https://github.com/denibertovic/docker-hs
|
||||
@ -15,17 +15,17 @@ cabal-version: >=1.10
|
||||
stability: experimental
|
||||
|
||||
library
|
||||
default-extensions: DeriveGeneric, OverloadedStrings, ScopedTypeVariables, ExplicitForAll, MultiParamTypeClasses, FlexibleContexts, GeneralizedNewtypeDeriving, RankNTypes, DeriveFunctor, FlexibleInstances
|
||||
default-extensions: DeriveGeneric, OverloadedStrings, ScopedTypeVariables, ExplicitForAll, MultiParamTypeClasses, FlexibleContexts, GeneralizedNewtypeDeriving, RankNTypes, DeriveFunctor, FlexibleInstances, CPP
|
||||
hs-source-dirs: src
|
||||
exposed-modules: Docker.Client, Docker.Client.Api, Docker.Client.Types, Docker.Client.Internal, Docker.Client.Http, Docker.Client.Utils
|
||||
-- other-modules: Docker.Internal
|
||||
build-depends: base >= 4.7 && < 5
|
||||
, aeson >= 0.9.0 && < 1.1.0
|
||||
, aeson >= 0.9.0 && < 1.2.0
|
||||
, blaze-builder >= 0.4.0 && < 0.5.0
|
||||
, bytestring >= 0.10.0 && < 0.11.0
|
||||
, containers >= 0.5.0 && < 0.6.0
|
||||
, data-default-class >= 0.0.1 && < 0.2.0
|
||||
, http-client >= 0.4.0 && < 0.5.0
|
||||
, http-client >= 0.4.0 && < 0.6.0
|
||||
, http-types >= 0.9 && < 0.10.0
|
||||
, vector
|
||||
, conduit
|
||||
@ -51,9 +51,9 @@ library
|
||||
, scientific >= 0.3.0 && < 0.4.0
|
||||
, tls >= 1.3.7 && < 1.4.0
|
||||
, unordered-containers >= 0.2.0 && < 0.3.0
|
||||
, x509 >= 1.6.0 && < 1.7.0
|
||||
, x509-store >= 1.6.0 && < 1.7.0
|
||||
, x509-system >= 1.6.0 && < 1.7.0
|
||||
, x509 >= 1.6.0 && < 1.8.0
|
||||
, x509-store >= 1.6.0 && < 1.8.0
|
||||
, x509-system >= 1.6.0 && < 1.8.0
|
||||
default-language: Haskell2010
|
||||
ghc-options: -Wall -fno-warn-name-shadowing
|
||||
|
||||
|
@ -114,8 +114,12 @@ httpHandler manager = HttpHandler $ \request' sink -> do -- runResourceT ..
|
||||
let request = NHS.setRequestManager manager request'
|
||||
try (NHS.httpSink request sink) >>= \res -> case res of
|
||||
Right res -> return res
|
||||
#if MIN_VERSION_http_client(0,5,0)
|
||||
Left e@(HTTP.HttpExceptionRequest _ HTTP.ConnectionFailure{}) -> return $ Left $ DockerConnectionError e
|
||||
#else
|
||||
Left e@HTTP.FailedConnectionException{} -> return $ Left $ DockerConnectionError e
|
||||
Left e@HTTP.FailedConnectionException2{} -> return $ Left $ DockerConnectionError e
|
||||
#endif
|
||||
Left e -> return $ Left $ GenericDockerError (T.pack $ show e)
|
||||
|
||||
-- | Connect to a unix domain socket (the default docker socket is
|
||||
|
4
stack-8.0.2.yaml
Normal file
4
stack-8.0.2.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
resolver: lts-9.4
|
||||
packages:
|
||||
- '.'
|
||||
extra-deps: []
|
Loading…
Reference in New Issue
Block a user