Haskell in Nixpkgs/NixOS | 704 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | 142 Servers |
| Sender | Message | Time |
|---|---|---|
| 2 Dec 2025 | ||
| maralorn: One last issue:
| 23:34:07 | |
| 23:34:50 | ||
This is true. The only HLS related executables I have in scope are haskell-language-server-9.10.3 and haskell-language-server-wrapper | 23:35:03 | |
| Using this
| 23:35:33 | |
How can I make this work? If it's just a case of telling Emacs's lsp-mode to use a specific binary for the 9.12.2 HLS, then I can do that. However, I'm not currently seeing any relevant binaries on the $PATH | 23:48:29 | |
| 3 Dec 2025 | ||
| I works when you follow | 00:19:22 | |
| this | 00:20:04 | |
| and this | 00:20:21 | |
| literally | 00:20:29 | |
| Sorry... I missed the first thing you said... I'm a dummy! Sorry | 00:28:30 | |
| 10:56:53 | ||
| I'm having difficulty compiling a project with another version of nixpkgs | 10:57:16 | |
| it works fine on my laptop | 10:57:22 | |
| and infinite loops on my desktop | 10:57:28 | |
| https://nest.pijul.com/iopq/proxy | 10:59:19 | |
| 4 Dec 2025 | ||
| reverting to an older nixpkgs revision fixes the issue | 07:47:37 | |
| this is not enough information to help you with your issue since we can’t guess what you are trying to do with what versions of nixpkgs what the error is | 10:50:02 | |
| 5 Dec 2025 | ||
| I'm having problems with HLS for ghc 9.10.3 in nix 25.11. It dies and prints the following on
Anyone else seeing this, or able to offer some advice? | 13:18:06 | |
| I think this might be: https://github.com/haskell/haskell-language-server/issues/4674 | 13:18:59 | |
| Magnus: Yes. You need to disable the hlint plugin. And someone needs to upstream this to nixpkgs master for now. | 13:20:03 | |
Use (pkgs.haskell.lib.compose.disableCabalFlag "hlint" pkgs.haskellPackages.haskell-language-server) | 13:20:50 | |
| (and for clarification, this is agreeing with and supplementing teo (they/he)s answer.) | 13:21:27 | |
Ah, OK... losing hlint is a bit of a blow to the usability though :( | 13:23:18 | |
| Magnus: I agree. You might consider switching to 9.12 where this problem does not happen. | 13:24:07 | |
| The root cause resides somewhere around apply-refact I think where for some reason the decision was made to skip support for 9.10. Although I am not familiar with the details. | 13:24:54 | |
| What's the state of 9.12 in 25.11? | 13:28:36 | |
| maralorn: yes, I didn't really understand the details for that either. | 13:29:42 | |
| Support is not as broad or good as 9.10 but I am using 9.12 in multiple projects and it‘s working fine. | 13:30:26 | |
| All right, it's worth a try... I was so very happy to find that 9.10.3 worked so well with our projects at work. I ended up removing a bunch of overlays and stuff, and no breakages at all...until I started writing code that is 😞 | 13:31:45 | |
| I mean you can still use hlint. Just not in hls I guess. | 13:33:13 | |