Haskell in Nixpkgs/NixOS | 725 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.org | 145 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Dec 2025 | ||
| 22:01:57 | ||
| 22:35:00 | ||
| Hi, I'm having an issue where
I can't see any upstream bugs but not really sure what's going on | 22:37:31 | |
| 17 Dec 2025 | ||
| looks link a mismatch between database and whatever it is checking against | 08:29:32 | |
| question where is the db coming from | 08:29:53 | |
| ah it checks against base so you either need to downgrade GHC so it doesn’t know about those chars as well or upgrade unicode-data, current version is 0.8.0 which supports Unicode 17.0.0 | 08:34:57 | |
| or disable the test suite of course | 08:35:32 | |
| it's still 0.6.0 in all the stackage lts versions, should it be upgraded to 0.8.0 in nixpkgs for GHC 9.12 in nixpkgs despite that? | 08:39:15 | |
| not sure how rigorously the policy is to stick to the Stackage set | 08:39:35 | |
| we don’t enforce stackage constraints for non default package sets since it isn’t possible really anyways | 08:41:43 | |
| it’s questionable whether it should be constrained so rigorously anyways in stackage | 08:42:13 | |
| unicode data db updates shouldn’t really break a well designed program?! | 08:42:37 | |
| 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. | 13:32:29 | |
| I recall it being possible but difficult to override boot packages. Was it maralorn who knew how to do it? | 14:21:55 | |
| 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 | |
| I 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 | |
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 | |
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 | |
| heyo, a dependency I use got marked broken in 25.11 and is still broken on master. 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 | |
| Oh well, I suppose the package should be fixed to work with recent versions anyway. | 19:05:42 | |
| * heyo, a dependency I use got marked broken in 25.11 and is still broken on nixpkgs master. 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 | |
| On master the update will happen automatically eventually. | 19:08:40 | |
| If you want this fixed on 25.11 manual intervention is required. | 19:09:00 | |
| 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 | |
| * | 19:12:21 | |
| Huh, depends on whether the package is part of stackage. If yes it might take until we upgrade our stackage snapshot. | 19:16:50 | |
| If not we should be very close. | 19:17:00 | |
| looks like it https://www.stackage.org/nightly-2025-12-15/package/net-mqtt-0.8.6.3 | 19:17:50 | |
| No the question is, why is 0.8.6.3 not entering stackage LTS? | 19:18:45 | |
| That is what we are tracking. | 19:18:54 | |