-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't use a custom Setup.hs #53
Conversation
Which bug? |
I'm extremely reluctant to remove the use of In the meantime, I think a serviceable workaround might be to use a Hackage overlay that patches libraries to be suitable for cross-compilation. This overlay looks promising, especially since it has patches for |
@phadej the bug in question: when cross-compiling, See: haskell/cabal#1493 |
@RyanGlScott the You loose testing with older GHCs, but if there something to actually test (and there is a risk of different GHCs behaving differently) then maybe a separate test-suite is justified. |
Hm. Having to drop the I wonder if there's a middle ground here: could we put the doctest test suite in a separate |
I don't understand this. You mean having
TL;DR my hard line is compatibility packages. E.g. |
It's less likely, sure, but the chances of it being run are still higher. IIRC, the CI for Stackage builds other
Definitely. I do recognize that Although it would make me somewhat sad to do so, I think I could live with only running doctests on CI. My question is: does |
Reasonably.
|
Anyway, I don't feel very strongly about this. I was just looking through issues / pull requests in |
Ah, I had overlooked the fact that |
This has been superseded by #60, which removes the custom |
Due to a bug in
cabal-install
,cabal
will try to cross-compile any customSetup.hs
s. So anything depending ondistributive
cannot be cross-compiled.This would change that by simply removing the
Setup.hs
stanza, which would have no effect on users.