!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

699 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 infrastructure137 Servers

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


SenderMessageTime
17 Dec 2025
@ncfavier:matrix.orgncfavierIs there a way to override the version of Cabal used to build Setup.hs? lhs2tex needs Cabal 3.10, but using the obvious override doesn't work (I suspect because Cabal 3.12 is bundled with GHC and it picks the latest available version). I also found https://github.com/NixOS/nixpkgs/pull/443130 but that doesn't seem to help here.13:32:29
@alex:tunstall.xyzAlex I recall it being possible but difficult to override boot packages.
Was it maralorn who knew how to do it?
14:21:55
@maralorn:maralorn.demaralorn ncfavier: I don’t remember exactly. It is possible in my memory, but it is always finicky and I would need to read the generic-builder.nix code to figure it out again. 14:42:54
@sellout:matrix.orgselloutI am fighting with this again after supposedly solving it just recently. Trying recover what I did last time (or if I was just mistaken then).15:22:02
@sellout:matrix.orgsellout I thought I had just put Cabal = hfinal.Cabal_3_10_3_0 and same for Cabal-syntax in an overlay, then set it in custom-setup in the Cabal file … but cabal2nix doesn’t care about the custom-setup, so there must have been a third piece. 15:25:02
@sellout:matrix.orgsellout Actually, I think this is right – the issue I was just running into was because I set a flag in configureFlags rather than passing it to callCabal2NixWithOptions (which only mattered because there are build-depends conditionalized by the flag). 17:53:14
@lenny:flipdot.orgLenny.

heyo, a dependency I use got marked broken in 25.11 and is still broken on master.
It looks like there is a fix out here https://github.com/dustin/mqtt-hs/commit/211d5742df9295f75f04ad58a51e6c42f1320515

Do the packages from hackage get updated automatically, or should I open a PR that does something similar to https://github.com/NixOS/nixpkgs/pull/470484/files?

19:04:31
@ncfavier:matrix.orgncfavierOh well, I suppose the package should be fixed to work with recent versions anyway.19:05:42
@lenny:flipdot.orgLenny. *

heyo, a dependency I use got marked broken in 25.11 and is still broken on nixpkgs master.
It looks like there is a fix out here https://github.com/dustin/mqtt-hs/commit/211d5742df9295f75f04ad58a51e6c42f1320515

Do the packages from hackage get updated automatically, or should I open a PR that does something similar to https://github.com/NixOS/nixpkgs/pull/470484/files?

19:06:48
@maralorn:maralorn.demaralornOn master the update will happen automatically eventually.19:08:40
@maralorn:maralorn.demaralornIf you want this fixed on 25.11 manual intervention is required.19:09:00
@lenny:flipdot.orgLenny.I think master/unstable is fine for now! How long that usually take? (the fixed release was uploaded to hackage on 24th of oct) Is there a job I can trigger/watch?19:12:15
@lenny:flipdot.orgLenny. * 19:12:21
@maralorn:maralorn.demaralornHuh, depends on whether the package is part of stackage. If yes it might take until we upgrade our stackage snapshot.19:16:50
@maralorn:maralorn.demaralornIf not we should be very close.19:17:00

Show newer messages


Back to Room ListRoom Version: 6