From a67a761cae094a06fab6c380afe9868d3b44135c Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Fri, 19 Feb 2016 12:32:41 +0200 Subject: [PATCH] Make more packages compilable with GHC8 --- servant-mock/servant-mock.cabal | 6 +- servant-server/servant-server.cabal | 2 +- stack-ghc-8.0.1.yaml | 141 ++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 4 deletions(-) create mode 100644 stack-ghc-8.0.1.yaml diff --git a/servant-mock/servant-mock.cabal b/servant-mock/servant-mock.cabal index aa9b2bef..ebfa530f 100644 --- a/servant-mock/servant-mock.cabal +++ b/servant-mock/servant-mock.cabal @@ -27,9 +27,9 @@ library base >=4.7 && <5, bytestring >= 0.10 && <0.11, http-types >= 0.8 && <0.10, - servant >= 0.4, - servant-server >= 0.4, - transformers >= 0.3 && <0.5, + servant == 0.5.*, + servant-server == 0.5.*, + transformers >= 0.3 && <0.6, QuickCheck >= 2.7 && <2.9, wai >= 3.0 && <3.3 hs-source-dirs: src diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index a4609bd5..f5b37fca 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -66,7 +66,7 @@ library , system-filepath >= 0.4 && < 0.5 , filepath >= 1 , text >= 1.2 && < 1.3 - , transformers >= 0.3 && < 0.5 + , transformers >= 0.3 && < 0.6 , transformers-compat>= 0.4 , wai >= 3.0 && < 3.3 , wai-app-static >= 3.0 && < 3.2 diff --git a/stack-ghc-8.0.1.yaml b/stack-ghc-8.0.1.yaml new file mode 100644 index 00000000..295fde19 --- /dev/null +++ b/stack-ghc-8.0.1.yaml @@ -0,0 +1,141 @@ +resolver: ghc-8.0.0.20160316 +packages: +- servant/ +- servant-blaze/ +- servant-cassava/ +- servant-client/ +- servant-docs/ +- servant-foreign/ +- servant-js/ +- servant-lucid/ +- servant-mock/ +- servant-server/ +extra-deps: +- adjunctions-4.3 +- aeson-0.11.0.0 +- aeson-pretty-0.7.2 +- ansi-terminal-0.6.2.3 +- ansi-wl-pprint-0.6.7.3 +- appar-0.1.4 +- asn1-encoding-0.9.3 +- asn1-parse-0.9.4 +- asn1-types-0.3.2 +- async-2.1.0 +- attoparsec-0.13.0.1 +- auto-update-0.1.3 +- base-compat-0.9.0 +- base-orphans-0.5.1 +- base64-bytestring-1.0.0.1 +- bifunctors-5.2.1 +- blaze-builder-0.4.0.1 +- blaze-html-0.8.1.1 +- blaze-markup-0.7.0.3 +- byteable-0.1.1 +- byteorder-1.0.4 +- bytestring-builder-0.10.6.0.0 +- bytestring-conversion-0.3.1 +- case-insensitive-1.2.0.5 +- cassava-0.4.5.0 +- cereal-0.5.1.0 +- charset-0.3.7.1 +- cmdargs-0.10.14 +- cmdargs-0.10.14 +- comonad-5 +- conduit-1.2.6.2 +- conduit-extra-1.1.10.1 +- connection-0.2.5 +- contravariant-1.4 +- control-monad-omega-0.3.1 +- cookie-0.4.1.6 +- cryptohash-0.11.6 +- cryptohash-conduit-0.1.1 +- cryptonite-0.11 +- data-default-class-0.0.1 +- distributive-0.5.0.2 +- dlist-0.7.1.2 +- double-conversion-2.0.1.0 +- easy-file-0.2.1 +- exceptions-0.8.2.1 +- fail-4.9.0.0 +- fast-logger-2.4.1 +- file-embed-0.0.9.1 +- free-4.12.4 +- hashable-1.2.4.0 +- hex-0.1.2 +- hourglass-0.2.9 +- http-api-data-0.2.2 +- http-client-0.4.27 +- http-client-tls-0.2.2 +- http-date-0.0.6.1 +- http-media-0.6.3 +- http-types-0.9 +- http2-1.4.5 +- iproute-1.7.0 +- kan-extensions-5.0.1 +- lens-4.13.2 +- lifted-base-0.2.3.6 +- lucid-2.9.4 +- memory-0.11 +- mime-types-0.1.0.6 +- mmorph-1.0.6 +- monad-control-1.0.0.5 +- mtl-2.2.1 +- network-2.6.2.1 +- network-uri-2.6.0.3 +- old-locale-1.0.0.7 +- old-time-1.1.0.3 +- optparse-applicative-0.12.1.0 +- parallel-3.2.1.0 +- parsec-3.1.9 +- pem-0.2.2 +- prelude-extras-0.4.0.3 +- primitive-0.6.1.0 +- profunctors-5.2 +- psqueues-0.2.2.0 +- QuickCheck-2.8.2 +- random-1.1 +- reflection-2.1.2 +- resourcet-1.1.7.2 +- safe-0.3.9 +- scientific-0.3.4.4 +- semigroupoids-5.0.1 +- semigroups-0.18.1 +- semigroups-0.18.1 +- simple-sendfile-0.2.21 +- socks-0.5.4 +- split-0.2.3 +- StateVar-1.1.0.3 +- stm-2.4.4.1 +- streaming-commons-0.1.15.1 +- string-conversions-0.4 +- stringsearch-0.3.6.6 +- syb-0.6 +- system-filepath-0.4.13.4 +- tagged-0.8.3 +- text-1.2.2.0 +- tf-random-0.5 +- time-locale-compat-0.1.1.1 +- tls-1.3.4 +- transformers-base-0.4.4 +- transformers-compat-0.5.1.4 +- unix-compat-0.4.1.4 +- unix-time-0.3.6 +- unordered-containers-0.2.7.0 +- utf8-string-1.0.1.1 +- vault-0.3.0.6 +- vector-0.11.0.0 +- void-0.7.1 +- wai-3.2.0 +- wai-app-static-3.1.4.1 +- wai-extra-3.0.14 +- wai-logger-2.2.5 +- warp-3.2.2 +- word8-0.1.2 +- x509-1.6.3 +- x509-store-1.6.1 +- x509-system-1.6.3 +- x509-validation-1.6.3 +- zlib-0.6.1.1 +flags: + time-locale-compat: + old-locale: false