-
Notifications
You must be signed in to change notification settings - Fork 10
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
Incorrect bounds in .cabal file #25
Comments
Apologies, that link points to the wrong version of the .cabal file. I'm referring to simple-templates 0.9.0.0, the current most recent version available on hackage, which seems to be from commit fb9adcf - though I can't be sure, as the tag numbers don't seem to consistently match the version numbers for that package. |
Compilation also seems to fail with base 4.9.0.0 / ghc 8.0.1, base 4.9.1.0/ ghc 8.0.2, and base 4.10.1.0 / 8.2.2 - I get
|
@phlummox thanks. I'll try to fix this, but a PR fixing this would be merged almost instantaneously. My position right now is that anything > |
If you want to patch a pre-1.0 version (there is currently no functional difference) to work with other older GHCs and bases, I'm happy to push an update to hackage, and track it in a separate branch (so we can continue back-porting issues). |
No worries, I'll see how I go. For my own package,adding a constraint to the .cabal file, equivalent to "if ghc < 8.4.4 , use simple-templates < 0.9.0.0, otherwise any is okay" was enough to get it building on all the versions of GHC I tried. |
The bounds on "base" look to be wrong in simple-templates.cabal.
simple-templates
purports to be able to use any version of base < 6, but I don't think that is correct.It imports Data.Semigroup (in
src/Web/Simple/Templates/Types.hs
), which has only existed since base 4.9.0.0.The text was updated successfully, but these errors were encountered: