-
Notifications
You must be signed in to change notification settings - Fork 21
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
Haskell shell fails with recent nixpkgs #215
Comments
Hm, unfortunately using a nixpkgs that's older than my system's nixpkgs doesn't work very well, possibly because of this. In my new organist shell, running
|
Thanks for reporting that. The HaskellStack shell is currently using some Nix trickery to get ormolu from the closure of hls (because ormolu-in-the-path and ormolu-in-the-lsp have to match to avoid inconsistencies in the formatting): organist/lib/nix-interop/shells/haskell.ncl Lines 7 to 27 in 879ca21
But the layout of the dependencies of hls changed between 23.11 and 24.05, breaking that. I'm working on a fix to be compatible with both, will open a PR as soon as it's ready. |
@jneem looks like this can be closed, right? |
Yep, I just tested a new shell and it seems to work. |
With a newly created organist environment, trying to use the
HaskellStack
shell fails withMaybe this is because hls-ormolu-plugin is broken?
Anyway, changing
nixpkgs
tonixpkgs/nixos-23.11
fixes it (but not 24.05; that's still broken).The text was updated successfully, but these errors were encountered: