!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

685 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 infrastructure135 Servers

Load older messages


SenderMessageTime
17 Dec 2025
@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
@lenny:flipdot.orgLenny.looks like it https://www.stackage.org/nightly-2025-12-15/package/net-mqtt-0.8.6.319:17:50
@maralorn:maralorn.demaralornNo the question is, why is 0.8.6.3 not entering stackage LTS?19:18:45
@maralorn:maralorn.demaralornThat is what we are tracking.19:18:54
@maralorn:maralorn.demaralornLooks like a minor bump so I don’t see good reason.19:19:04
@maralorn:maralorn.demaralornWait.19:19:45
@maralorn:maralorn.demaralornI am looking at 22.44 which is outdated. It doesn’t seem to be part of our current LTS.19:20:05
@maralorn:maralorn.demaralornthen 👆️19:20:30
@lenny:flipdot.orgLenny.oki thx!19:22:51
@maralorn:maralorn.demaralornYour bump might be in here, but github feilds to load it for me: https://github.com/NixOS/nixpkgs/pull/46625819:32:03
@maralorn:maralorn.demaralorn* Your bump might be in here, but github fails to load it for me: https://github.com/NixOS/nixpkgs/pull/46625819:32:14
@lenny:flipdot.orgLenny.yes it actually it! ty I'll watch that19:37:24
@maralorn:maralorn.demaralorn May I pitch you my bot nixpkgs-bot. Send it "subscribe 466258" and you will be informed when it is merged and when it reaches master and nixos-unstable. 😄 19:41:21
@sternenseemann:systemli.orgsterni
In reply to @ncfavier:matrix.org
Is 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.
you can add the version you want to setupHaskellDepends but if i recall it picks the most recent version by default
20:42:08
@sternenseemann:systemli.orgsterniso you may need to coax it with some extra flags20:43:01
@andromeda:tchncs.deandromeda"the eleven copies of GHC in your nix store don't exist, they can't hurt you" the eleven copies of GHC in my nix store: 🫥23:05:24
@maralorn:maralorn.demaralorn😄23:06:42

There are no newer messages yet.


Back to Room ListRoom Version: 6