Upload on Hackage
We can't upload this package on Hackage because Cabal doesn't properly support its own conditionals: https://github.com/haskell/cabal/issues/4629
Revisit when the upstream issue is fixed
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Author Contributor
To bypass the issue, we could use CPP into module files instead of Cabal reexported modules.
Hi, first of all thanks for your work on this. In hls we got support for ghc-8.10.5 thanks to https://github.com/hsyl20/ghc-api-compat/pull/11 But now we would want to make a hackage release and we would need that commit published in hackage, would be possible to bypass the issue applying the mentioned workaround (or this one https://github.com/haskell/cabal/issues/4629#issuecomment-317965912)? thanks!
Collapse replies - Author Contributor
Hi, sadly I don't have spare time to work on this. Both workarounds require quite some time that would be better invested into fixing Cabal/Hackage. I've commented on https://github.com/haskell/cabal/issues/4629
1
Can we at least back port the GHC 8.10.5 to the version in Hackage and upload a minor revision?
Collapse replies - Author Contributor
I've uploaded https://hackage.haskell.org/package/ghc-api-compat-8.10.5 especially for 8.10.5. Tell me if it works for you.
- Author Contributor
A new version is needed for 8.10.7
Collapse replies - Author Contributor
And for 9.0.1
Collapse replies - Author Contributor
cabal check
has been already fixed to allow the upload of the package: https://github.com/haskell/cabal/pull/7616