Skip to content

Commit

Permalink
Add a workaround for a cabal bug haskell-infra/hackage-trustees#165
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Jul 1, 2018
1 parent c1c6ffa commit 1390d6e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions http-client/ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.5.13.1

* Add a workaround for a cabal bug [haskell-infra/hackage-trustees#165](https://github.com/haskell-infra/hackage-trustees/issues/165)

## 0.5.13

* Adds `setRequestCheckStatus` and `throwErrorStatusCodes` functions.
Expand Down
9 changes: 7 additions & 2 deletions http-client/http-client.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: http-client
version: 0.5.13
version: 0.5.13.1
synopsis: An HTTP client engine
description: Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/http-client>.
homepage: https://github.com/snoyberg/http-client
Expand Down Expand Up @@ -68,7 +68,12 @@ library

-- See build failure at https://travis-ci.org/snoyberg/http-client/jobs/359573631
if impl(ghc < 7.10)
buildable: False
-- Disable building with GHC before 8.0.2.
-- Due to a cabal bug, do not use buildable: False,
-- but instead give it an impossible constraint.
-- See: https://github.com/haskell-infra/hackage-trustees/issues/165
build-depends: unsupported-ghc-version > 1 && < 1


if os(mingw32)
build-depends: Win32, safe
Expand Down

0 comments on commit 1390d6e

Please sign in to comment.