cabal - prevent using basement 0.0.10 on 32-bit windows.

It is broken, see https://github.com/haskell-foundation/foundation/issues/515
This commit is contained in:
John MacFarlane 2019-02-06 17:19:58 -08:00
parent 54ee40f216
commit 424ec937e0

View file

@ -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