diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-06 17:19:58 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-06 17:19:58 -0800 |
commit | 424ec937e044eb4c916dd9a43f17f041b623d404 (patch) | |
tree | 53e6523baafd633fd2b32e2274d4561c9cab4d51 | |
parent | 54ee40f2161e262bf2223987b9f9a944f77c8a44 (diff) | |
download | pandoc-424ec937e044eb4c916dd9a43f17f041b623d404.tar.gz |
cabal - prevent using basement 0.0.10 on 32-bit windows.
It is broken, see https://github.com/haskell-foundation/foundation/issues/515
-rw-r--r-- | pandoc.cabal | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index 56d4065ec..13a2fbcd9 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -404,9 +404,12 @@ library if impl(ghc < 8.0) build-depends: semigroups == 0.18.*, -- basement 0.0.8 and foundation 0.0.21, transitive - -- dependencies, drop support for ghc 7.10: + -- dependencies, drop support for ghc 7.10. basement < 0.0.8, foundation < 0.0.21 + if impl(ghc >= 8.0) && os(windows) && arch(i386) + build-depends: basement < 0.0.10 + -- basement 0.0.10 won't build on 32-bit windows. if impl(ghc < 8.4) hs-source-dirs: prelude other-modules: Prelude |