on master help sign in
Add a workaround for a cabal bug haskell-infra/hackage-trustees#165
commit2735b0946aee1b58a3343b5fc2eabc90d3fe2dcc authorMichael Snoyman <michael@snoyman.com> dateSun 1 Jul 2018, 03:51 (8 years ago) parent9c76c43
2 files changed+10−2
ChangeLog.md+4 yaml.cabal+6−2
ChangeLog.md+4
@@ -1,3 +1,7 @@
1+## 0.8.31.1
2+
3+* Add a workaround for a cabal bug [haskell-infra/hackage-trustees#165](https://github.com/haskell-infra/hackage-trustees/issues/165)
4+
15## 0.8.31
26
37* Add `decodeThrow` and `decodeFileThrow` convenience functions.
yaml.cabal+6−2
@@ -1,5 +1,5 @@
11name: yaml
2−version: 0.8.31
2+version: 0.8.31.1
33license: BSD3
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov
@@ -47,7 +47,11 @@ flag no-unicode
4747library
4848 other-extensions: LambdaCase
4949 if impl(ghc < 8.0.2)
50− buildable: False
50+ -- Disable building with GHC before 8.0.2.
51+ -- Due to a cabal bug, do not use buildable: False,
52+ -- but instead give it an impossible constraint.
53+ -- See: https://github.com/haskell-infra/hackage-trustees/issues/165
54+ build-depends: unsupported-ghc-version > 1 && < 1
5155 build-depends: base >= 4.9.1 && < 5
5256 , transformers >= 0.1
5357 , bytestring >= 0.9.1.4