-
Notifications
You must be signed in to change notification settings - Fork 136
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
GHC 9.8 #600
Comments
The reason it can successfully build in CI with GHC 9.8 is that we use the nixpkgs Haskell package set, which "jailbreaks" broadcast-chan. It's the same effect as using |
I think you mean that it disregards the dependency bounds of
broadcast-chan. Am I right?
broadcast-chan hasn't been updated for a long time. For one thing, it
prevents the use of new resource-t versions. I don't know whether that is
an issue now but it may become a real issue later, for resource-t or some
other dependency that taffybar may want to use.
merijn/broadcast-chan#20
…On Sun, Dec 22, 2024 at 9:17 AM Rodney Lorrimar ***@***.***> wrote:
The reason it can successfully build in CI with GHC 9.8 is that we use the
nixpkgs Haskell package set, which "jailbreaks" broadcast-chan. It's the
same effect as using cabal build --allow-newer=broadcast-chan.
—
Reply to this email directly, view it on GitHub
<#600 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADNBVHRSHEIMSWAXDVG5432GYHMNAVCNFSM6AAAAABREWQZPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGI4TAMJVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Yes, that's what I mean. WRT the failure to build I have only ever tested building with tls-1.8.0. |
Somehow, on the latest master branch without broadcast-chan, I was able to build with GHC 9.8.4 and there was no tls-related error. |
Describe the bug
The project is described in
taffybar.cabal
as having been tested with GHC 9.8.2. But apparently it does not work with GHC 9.8.2.To Reproduce
cabal build
fails because broadcast-chan does not support GHC 9.8.2:However, even after commenting out broadcast-chan from
taffybar.cabal
,cabal build
inexplicably fails ontls
:I find it inexplicable because the Default instance exists AFAICT and building
tls
directly from within its own project works (using https://github.com/haskell-tls/hs-tls/tree/01766fbef097537eadad26f86c74ae7e38fe3ade).Expected behavior
cabal build
just works with GHC 9.8, ortested-with
be fixed. I think enabling building the project with GHC 9.8 is preferable and required sooner or later as older GHC versions become out-of-date. However, for GHC 9.8, sincebroadcast-chan
does not work with it and appears to be practically unmaintained, replacing it with something else first is needed. I'm not sure about the considerations for whichbroadcast-chan
was chosen over other similar packages.Version information
Taffybar version (or git sha if building from source): d400932
GHC version: 9.8.2
The text was updated successfully, but these errors were encountered: