Haskell in Nixpkgs/NixOS | 740 Members | |
| For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | 148 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Mar 2026 | ||
| Maybe it is sensible to wait for the next HLS release (which is coming soon right?) and the update | 10:36:47 | |
| I don’t know. I am not aware of immediate plans. | 10:41:29 | |
| It seems likely that they would want to make a release after 9.12.4 to provide binaries. | 10:41:48 | |
| But I also wouldn’t be other than from it being discussed on the hls matrix channel. | 10:44:38 | |
| I just saw new versions of lsp and lsp-types so I assumed that was the reason | 10:44:58 | |
| in any case, most stuff I had on my mind we can do with LTS is done, what remains are things like pandoc 3.9 which are probably best addressed by jumping to nightly | 10:46:42 | |
| Also if anyone is interested in trying out 9.12.4-rc1 https://github.com/NixOS/nixpkgs/pull/500108 | 11:10:27 | |
| alexfmpe: this was on darwin, right? https://github.com/NixOS/nixpkgs/pull/497811#issuecomment-4019565283 | 17:34:15 | |
| aaah yeah | 22:10:03 | |
| I forgot that threw off regen script | 22:10:13 | |
| I experienced this as well in this pr: https://github.com/NixOS/nixpkgs/pull/499983#issuecomment-4062916058 | 22:39:11 | |
| * I forgot to mention this, It's not just that pr is linked it's across globally: https://github.com/NixOS/nixpkgs/pull/499983#issuecomment-4062916058 | 22:40:10 | |
| * I forgot to mention this, It's not just that pr is linked it's across globally, because I was happened to reproduce it. Ref: https://github.com/NixOS/nixpkgs/pull/499983#issuecomment-4062916058 | 22:40:32 | |
| heh you barely missed 500k | 22:44:25 | |
| 18 Mar 2026 | ||
| It seems that we have a regression in
(On latest nixpkgs-unstable) sterni Is this known about?
| 02:27:59 | |
| * It seems that we have a regression in
(On latest nixpkgs-unstable) sterni Is this known about?
| 02:30:11 | |
| Reproducer: https://gist.github.com/colemickens/78af9a28c01b888726322ca6628b27f5 | 02:30:29 | |
| I went back to 22.05 and it still failed. Did this ever work? | 04:00:56 | |
| no clue but I've also seen FFI define errors for a few months now when trying to build for other archs | 04:21:32 | |
| 04:21:41 | |
| https://github.com/libffi/libffi/blob/master/src/loongarch64/ffitarget.h#L39 https://github.com/libffi/libffi/blob/master/src/riscv/ffitarget.h#L36 | 04:23:15 | |
| I do not see these "was configured" errors coming from symbol checks in x86 or aarch64 https://github.com/libffi/libffi/blob/master/src/x86/ffitarget.h https://github.com/libffi/libffi/blob/master/src/aarch64/ffitarget.h | 04:24:25 | |
| * https://github.com/libffi/libffi/blob/master/src/loongarch64/ffitarget.h#L39 https://github.com/libffi/libffi/blob/master/src/mips/ffitarget.h#L57 https://github.com/libffi/libffi/blob/master/src/riscv/ffitarget.h#L36 | 04:37:11 | |
*
| 04:38:46 | |
*
| 04:41:10 | |
| I have a questions about the general architecture of haskellPackages, does hackage have dep cycles? and how do you deal with them when generating the package list? I'm working on a little project that generates a package list from a foreign source, but it has cycles, and I'm kinda clueless on how to break cycles up without just removing all dependencies | 04:49:25 | |
Cross-compiling GHC 9.6+ shouldn't even eval, because of a throw sterni added after we found that Hadrian broke cross. Is there some difference between haskellPackages.ghc and haskell.compiler.ghc? | 05:40:55 | |
| I have not seen anything that suggests that Cabal supports cycles, but you may want to try it out and see whether the dependency solver likes it. But regardless of what Haskell is doing, I think you would be better off looking at how existing tools that work with the foreign source handle those cycles, since doing the same thing will give your tooling the best chance at doing no worse with weird scenarios you've yet to consider. | 05:46:36 | |
| Not for native | 05:46:36 | |
In reply to @alexfmpe:matrix.orgOne is cross compiler ghc, the other is cross compiled ghc | 05:47:31 | |