-
-
Notifications
You must be signed in to change notification settings - Fork 391
haskell-language-server-8104 doesn't build in flake #1871
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
Comments
Hi, thanks for the report, I believe this issue was fixed in #1870, and |
cool thanks |
|
Yes, that's a good point. There is (basic) support for ghc-9.0.1 in HLS now, but the nix-expressions hasn't yet been updated with the info from the |
I've been playing with haskell.nix recently and it seems more powerful than nixpkgs' ecosystem (where you contantly have to fiddle with everything). Any thought ? |
I'm not too familiar with the |
It seems that some packages in HLS dependencies tree are broken. I guess this kind of fixes should be done in nixpkgs, or we could override them for HLS temporarily, but that would require us to build many packages. For |
Yes, the solution would be to manually override all of those packages in the nix expression. overrideCabal package.name {
patches = [ (fetchPatch { url = "https://github.com/user/repo/pull/1234.patch"; sha256= "...";})];
} or overriding the src attribute with the same revisions as are mentioned in the It would probably make sense to upstream the I don't know if |
It would also make sense to submit patches to the upstream libraries for extending their version bounds, so we don't need |
Thanks for adding a flake to this repo, it makes things so much easier !
I just wanted to warn that
nix build .#haskell-language-server-8104
was broken for 204fdcb and that I had to pin it tohls.url = "github:haskell/haskell-language-server?rev=37e0551b0d411e345e250a6ed287103640524a62";
Would be cool to only update the flake if all targets compile.
NB: Also old channel is mentioned at https://github.com/haskell/haskell-language-server#contributing
The text was updated successfully, but these errors were encountered: