-
Notifications
You must be signed in to change notification settings - Fork 220
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
Update to GHC 9.6.4 and HLS 2.6.0.0. #4431
Conversation
Looks like HLS is getting stuck after the update to 2.6.0.0 (see https://buildkite.com/cardano-foundation/cardano-wallet/builds/3344#018d7d17-3a31-4fed-81c0-db547420cb0f):
After a while, the log has the following entries:
After the above log entries, there is no further progress (except for memory usage reports), even after 1 hour:
Perhaps this is related to haskell/haskell-language-server#4046. |
nix/haskell.nix
Outdated
(haskell-nix.tool "ghc963" "haskell-language-server" ({pkgs, ...}: rec { | ||
(haskell-nix.tool "ghc964" "haskell-language-server" ({pkgs, ...}: rec { | ||
# Use the github source of HLS that is tested with haskell.nix CI | ||
src = pkgs.haskell-nix.sources."hls-2.5"; | ||
src = pkgs.haskell-nix.sources."hls-2.6"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if you simply don't bump HLS, i.e. leave it at gh963 and hls-2.5?
This will bring both GHC 9.6.4 and GHC 9.6.3 into the nix store. Not sure if that's worth it.
HLS wants to be a special snowflake, that's why the dependency information is different from the other tools. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
patch applied, cardano-scaling/hydra@0b8776a
seems working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paolino nice!
df8b8e0
to
0915376
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
0915376
to
b3acad0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. 😊
Merging, following the decision here: https://cardanofoundation.slack.com/archives/C05GW7ZF508/p1707389698859199?thread_ts=1707381709.848279&cid=C05GW7ZF508 |
This PR updates the versions of GHC and HLS used in our nix configuration: