Skip to content
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

hledger-web-1.41 fails to compile: src/Yesod/Core/Dispatch.hs:247:32: error: [GHC-83865] Couldn't match expected type ‘GzipSettings’ with actual type ‘RequestLoggerSettings’ #2297

Closed
yurivict opened this issue Dec 10, 2024 · 3 comments
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. platform:freebsd web The hledger-web tool.

Comments

@yurivict
Copy link

See the log here.

ghc-9.6.6
FreeBSD 14.1

@simonmichael
Copy link
Owner

simonmichael commented Dec 10, 2024

Thanks for the report @yurivict (and for packaging). I have pinged the upstream issue here. (It affects anyone building hledger-web with cabal right now.) The workaround is to add --constraint 'wai-extra <3.1.17' to the cabal build command.

@simonmichael simonmichael added A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. web The hledger-web tool. platform:freebsd labels Dec 10, 2024
@simonmichael
Copy link
Owner

simonmichael commented Dec 10, 2024

https://hackage.haskell.org/package/yesod-core's revision 1 has fixed this, so the above workaround is no longer needed. (Running cabal update once might be needed.)

@yurivict
Copy link
Author

Thank you for your suggestion,
I updated the FreeBSD port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-BUG Something wrong, confusing or sub-standard in the software, docs, or user experience. packaging Dependencies, version constraints, packaging.. platform:freebsd web The hledger-web tool.
Projects
None yet
Development

No branches or pull requests

2 participants