!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

729 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.org146 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Aug 2025
@adrielus:matrix.orgprescientmoon changed their display name from Adriel to prescientmoon.14:31:42
4 Aug 2025
@mrcjk:matrix.orgMarc JakobiHas anyone else noticed a significant increase in memory when compiling Haskell packages with ghc 9.8.4 compared to ghc 9.6.6? I haven't been able to pinpoint it yet and I can't reproduce it outside of nix builds.09:45:42
@ners:nixos.devners Does this happen on the same nixpkgs pin, e.g. nix build nixpkgs#haskell.packages.ghc984.rhine vs nix build nixpkgs#haskell.packages.ghc966.rhine? 10:09:07
@mrcjk:matrix.orgMarc Jakobi
In reply to @ners:nixos.dev
Does this happen on the same nixpkgs pin, e.g. nix build nixpkgs#haskell.packages.ghc984.rhine vs nix build nixpkgs#haskell.packages.ghc966.rhine?
It doesn't even happen for all packages. I'm trying to build the same package with ghc 9.6, but it's failing to build singletons-th (or singletons-th_3_5), which is one of the dependencies - which kind of adds to my suspicion that this may be a template-haskell regression.
14:28:51
@mrcjk:matrix.orgMarc JakobiYep, no matter how I try to override or jailbreak packages, I can't seem escape dependency hell if I use another ghc version.15:13:23
@teoc:matrix.orgTeo (he/him)Are you able to reproduce this outside of nix? Might be good to open a GHC ticket if you can confirm it's a GHC issue15:31:08
@teoc:matrix.orgTeo (he/him)Oh you already said you couldn't reproduce it outside of nix builds15:34:38
@sternenseemann:systemli.orgsterni (he/him) teo (they/he): I mean what you could put on your GHC review pile is my never reviewed MR :p https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13932 16:30:06
@teoc:matrix.orgTeo (he/him)Will do! Feel free to tag me in the future too. It's a real shame that that slipped through the cracks16:31:20
@teoc:matrix.orgTeo (he/him)I hadn't realized you were already trying to build a stage2 compiler for these configurations. I know that isn't supported in hadrian in general and that's being fixed in https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444. But maybe it would be supported in this case and something is just going wrong with this flag. I'll look into it and see if there's an easy fix16:33:24

Show newer messages


Back to Room ListRoom Version: 6