Closed hvr closed 7 years ago
So what's the right way to say "does not build on GHC < 7.6"? Is it to set a lower bound on base
as in this issue?
Until base
becomes reinstallable, it's a reasonable way to use it as a proxy. Semantically somewhat cleaner way would be
if impl(ghc < 7.7)
build-depends: base<0
as this takes into account the theoretical existence of other Haskell compilers, and says if we use ghc
and ghc's version is lower than 7.7...
(and base<0
is simply a contradiction, since there's no negative version numbers)
OK, I took the simpler option for now.
See below