!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

698 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/139 Servers

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


SenderMessageTime
15 Sep 2025
@bglgwyng:matrix.orgbglgwyngAh I see16:06:43
@bglgwyng:matrix.orgbglgwyngThanks!16:06:46
@bglgwyng:matrix.orgbglgwyng One thing annoying is that I can investigate the argments with builtins.functionArgs (pkgs.callCabal2nix name src) 16:13:54
@bglgwyng:matrix.orgbglgwyngMaybe it's because wrapped? I think I can find how to fix it16:14:12
@keypusher:matrix.orgkeypusherSo going the addBuildTools route will require me to build wo using callCabal2Nix then?16:19:31
@maralorn:maralorn.demaralornI am missing a bit of context, but I don’t think so. Both functions are compatible. First call callCabal2Nix then apply addBuildTools to the result of the function.16:33:23
@keypusher:matrix.orgkeypusherOh ok. I'll try that16:34:22
@keypusher:matrix.orgkeypusherYou made my day. 4 hours of struggling just came to an end. My nix intuition is lacking.16:36:43
@keypusher:matrix.orgkeypusherThanks 🎉16:37:15
@sternenseemann:systemli.orgsterni I noticed that, too, yesterday, I think this is a bug and is probably fixable 17:43:17
@alex:tunstall.xyzAlex
In reply to @sternenseemann:systemli.org
I would just start with adding a MicroHs package set built with GHC as we don't have hugs and then just iterate on that; maybe add hugs separately, have a hugs package set (if that even makes sense).
Not sure which branch to PR to.
I assume haskell-updates is the best choice?
(Hugs fix without GCC 13 is ready.)
22:37:00
@sternenseemann:systemli.orgsternican also be master if you don’t depend on anything in h-u22:47:03
@alex:tunstall.xyzAlexEven for the mhs package set?22:48:00
@alex:tunstall.xyzAlex
In reply to @sternenseemann:systemli.org
can also be master if you don’t depend on anything in h-u
Hugs fix: https://github.com/NixOS/nixpkgs/pull/443281
22:53:44
@sternenseemann:systemli.orgsternithe mhs package set is probably better on h-u since we’d want to figure out CI22:58:06

Show newer messages


Back to Room ListRoom Version: 6