!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

681 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure133 Servers

Load older messages


SenderMessageTime
3 Dec 2025
@mequbic:matrix.orgiqubic (she/her)Sorry... I missed the first thing you said... I'm a dummy! Sorry00:28:30
@iopq:matrix.orgiopq joined the room.10:56:53
@iopq:matrix.orgiopqI'm having difficulty compiling a project with another version of nixpkgs10:57:16
@iopq:matrix.orgiopqit works fine on my laptop10:57:22
@iopq:matrix.orgiopqand infinite loops on my desktop10:57:28
@iopq:matrix.orgiopqhttps://nest.pijul.com/iopq/proxy10:59:19
4 Dec 2025
@iopq:matrix.orgiopqreverting to an older nixpkgs revision fixes the issue07:47:37
@sternenseemann:systemli.orgsternithis 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 is10:50:02
5 Dec 2025
@magthe:tchncs.deMagnus

I'm having problems with HLS for ghc 9.10.3 in nix 25.11. It dies and prints the following on stderr:

.haskell-language-server-9.10.3-unwrapped: internal error: ARR_WORDS object (0x4243c25cd8) entered!
Stack trace:
.haskell-language-server-9.10.3-unwrapped: Failed to get stack frames of current process: No DWARF information found: Success
            0x74bfae92b970    set_initial_registers (/nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3/libHSrts-1.0.2_thr-ghc9.10.3.so)
            0x74bfae3becd0    dwfl_thread_getframes (/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib/libdw-0.194.so)
            0x74bfae3be6eb    get_one_thread_cb (/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib/libdw-0.194.so)
            0x74bfae3bead4    dwfl_getthreads (/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib/libdw-0.194.so)
            0x74bfae3bf042    dwfl_getthread_frames (/nix/store/1nqqjacc6dnj61jlpgz5hk9zdjbfidbr-elfutils-0.194/lib/libdw-0.194.so)
            0x74bfae92c0b7    libdwGetBacktrace (/nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3/libHSrts-1.0.2_thr-ghc9.10.3.so)
            0x74bfae935437    rtsFatalInternalErrorFn (/nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3/libHSrts-1.0.2_thr-ghc9.10.3.so)
            0x74bfae93568f    barf (/nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3/libHSrts-1.0.2_thr-ghc9.10.3.so)
            0x74bfae975d9b    stg_ARR_WORDS_info (/nix/store/6xdv0kj7ycq56l9sqip2hmxp237j78h4-ghc-9.10.3/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3/libHSrts-1.0.2_thr-ghc9.10.3.so)

    (GHC version 9.10.3 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug

Anyone else seeing this, or able to offer some advice?

13:18:06
@teoc:matrix.orgteo (they/he) I think this might be: https://github.com/haskell/haskell-language-server/issues/4674 13:18:59
@maralorn:maralorn.demaralorn Magnus: Yes. You need to disable the hlint plugin. And someone needs to upstream this to nixpkgs master for now. 13:20:03
@maralorn:maralorn.demaralorn Use (pkgs.haskell.lib.compose.disableCabalFlag "hlint" pkgs.haskellPackages.haskell-language-server) 13:20:50
@maralorn:maralorn.demaralorn (and for clarification, this is agreeing with and supplementing teo (they/he)s answer.) 13:21:27
@magthe:tchncs.deMagnus Ah, OK... losing hlint is a bit of a blow to the usability though :( 13:23:18
@maralorn:maralorn.demaralorn Magnus: I agree. You might consider switching to 9.12 where this problem does not happen. 13:24:07
@maralorn:maralorn.demaralornThe 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
@magthe:tchncs.deMagnusWhat's the state of 9.12 in 25.11?13:28:36
@magthe:tchncs.deMagnus maralorn: yes, I didn't really understand the details for that either. 13:29:42
@maralorn:maralorn.demaralornSupport 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
@magthe:tchncs.deMagnusAll 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
@maralorn:maralorn.demaralornI mean you can still use hlint. Just not in hls I guess.13:33:13
@emilazy:matrix.orgemilytime to bump to 9.12 on unstable? :D13:35:00
@wolfgangwalther:matrix.orgWolfgang WaltherThat's tied to Stackage Nightly becoming Stackage 2513:35:51
@teoc:matrix.orgteo (they/he)From working on the work codebase's upgrade to 9.12, my impression is that there are very few breaking changes there13:36:00
@maralorn:maralorn.demaralornI doesn’t have to be. That’s just our policy.13:36:30
@maralorn:maralorn.demaralorn* It doesn’t have to be. That’s just our policy.13:36:37
@wolfgangwalther:matrix.orgWolfgang Waltheryeah, that's what I meant. It'd be odd to select the default packages from Stackage LTS 24, which is tied to GHC 9.10, but to use 9.12 as the default for them, though.13:38:12
@wolfgangwalther:matrix.orgWolfgang WaltherI mean... we can already switch to Stackage Nightly on unstable, until it becomes LTS 25, though. Would give us a head start on the migration.13:39:06
@magthe:tchncs.deMagnus maralorn: it didn't even take that long to build that modified HLS 😄 and it is much more stable... as in it's been running without crashing for several minutes 😁 13:40:21
@magthe:tchncs.deMagnusSounds like that's something worth taking a closer look at then. That's very good to know.13:41:05

There are no newer messages yet.


Back to Room ListRoom Version: 6