!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

695 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 infrastructure138 Servers

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


SenderMessageTime
30 Dec 2025
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.orgFrom the interpreter side, all (known) issues with structuredAttrs should be solved since we bumped min version for Nixpkgs - we are not concerned anymore with any Nix versions that had problems there. structuredAttrs is certainly the way to go in the future, it's just a matter of time (and effort) to get the migration done. The reason to support both with/without structuredAttrs is purely the transition period while not every expression supports them. This is mostly relevant for generic builders / setup hooks and such, which might not be able to tell in advance whether their downstream consumers will be using structuredAttrs or not. The GHC expressions can certainly all be rewritten to consistently use structuredAttrs, no problem with that. Forcing the haskell generic builder to always use structuredAttrs would have an impact of out-of-tree users using that builder. If we're OK with a breaking change in that way, then yes, the best way is to consistently use structuredAttrs here, too.12:37:55
@maralorn:maralorn.demaralornIs there some ressource about what structuredAttrs does and what it solves?12:53:28
@sternenseemann:systemli.orgsterniNix manual I assume12:54:05
@wolfgangwalther:matrix.org@wolfgangwalther:matrix.orghttps://nix.dev/manual/nix/2.19/language/advanced-attributes#adv-attr-structuredAttrs12:55:05
@amadaluzia:tchncs.deamadaluzia[tde] changed their profile picture.12:59:17
@me:linj.techlinjI find this blog very helpful https://nixos.mayflower.consulting/blog/2020/01/20/structured-attrs/13:52:51
@sternenseemann:systemli.orgsterniWe probably (also) have some new Haskell failures on master now with gcc15, so that may be worth checking up on in the coming days.18:32:11
@lenny:flipdot.orgLenny. changed their display name from Lenny. ☎️5665 to Lenny..23:09:43

Show newer messages


Back to Room ListRoom Version: 6