Sender | Message | Time |
---|---|---|
1 Jul 2025 | ||
But I think in the longterm its better for everyone if we spread this on multiple shoulders. | 16:46:26 | |
2 Jul 2025 | ||
19:50:08 | ||
3 Jul 2025 | ||
I'm really bad at putting up my feet when it's not my turn unfortunately | 10:37:37 | |
Yeah, but also since I got used to do doing the stuff I 1) got slower and 2) am not even sure I know how to do it now. 😆 | 11:08:07 | |
I'm trying to get a broken package to build (glft-codec) currently it's complaining about Aeson being too new, the currect version has a <2.2, but Aeson is on 2.2, I assume it'll just work if I can modify the symantic versioning but I can't figure out how to get it to work, I cloned the repo but flakes are complaining about the files missing (probably due to submodules), I wonder what I should do here before I dig myself in to a bigger hole. | 17:05:16 | |
@woobilicious:matrix.org Apply haskell.lib.doJailbreak to your package. No need to clone or patch7 | 17:19:58 | |
thanks I'll try that. | 17:21:09 | |
Plenty of examples in nixpkgs if you grep | 17:22:57 | |
brillant it worked, only issue was tests failing due to missing asset files, disabled tests and imports are working | 17:37:26 | |
18:46:50 | ||
Hey there! I hope some questions are appreciated. I'm trying to bump nix-tree (after asking the developer a while back to bump in hackage https://github.com/utdemir/nix-tree/issues/114#issuecomment-2888634183 ) assuming it would get updated eventually by nixos maintainers and the file says that you should use the regenerate-hackage-packages.sh but that fails on my local machine - I'd like to get in touch with the people maintaining that and assumed there was a Haskell Matrix channel maybe (there aren't a lot of GitHub issues around Hackage/Haskell lately if I'm not mistaken). | 18:51:28 | |
| 18:51:46 | |
Reading the history of this channel I can see others also ran into thread blocked indefinitely in an MVar operation . I'm not sure if it the script is fully needed getting nix-tree usable again for others :). | 18:53:34 | |
https://github.com/NixOS/nixpkgs/issues/409085 ah I didn't get follow up github notifications. https://github.com/NixOS/nixpkgs/pull/409117#issuecomment-2895401376 | 18:55:05 | |
Well at least I gave updating hackage packages a try for once, good to learn how that is done under the hood. | 18:57:00 | |
* Hey there! I've had some questions, I understand the situation now... Old message/thread: I'm trying to bump nix-tree (after asking the developer a while back to bump in hackage https://github.com/utdemir/nix-tree/issues/114#issuecomment-2888634183 ) assuming it would get updated eventually by nixos maintainers and the file says that you should use the regenerate-hackage-packages.sh but that fails on my local machine - I'd like to get in touch with the people maintaining that and assumed there was a Haskell Matrix channel maybe (there aren't a lot of GitHub issues around Hackage/Haskell lately if I'm not mistaken). | 19:00:25 | |
I was profiling eval time of nixpkgs recently and I noticed that a lot of time was spent doing hasPrefix when evalling the haskell package set. I think this is caused by the hasPrefix call to check if stuff is part of amazonka and each call of hasPrefix re-checks if the needle is a path lol https://github.com/NixOS/nixpkgs/issues/419216We could optimise the hasPrefix call, but maybe we should just add the list of amazonka packages to this file rather than traversing the entire haskell package set? https://github.com/NixOS/nixpkgs/blob/a44903b927ab16b829a76f51f84bca02a7f89a0f/pkgs/development/haskell-modules/configuration-common.nix#L3352 | 19:19:35 | |
how does one even do this? I always wondered | 20:24:38 | |
In reply to @alexfmpe:matrix.orgThis is what I used https://github.com/NixOS/nix/pull/13220 | 20:30:51 | |
Ooooh | 20:37:45 | |
4 Jul 2025 | ||
hey folks,do we support cabal 3.14 for development? | 15:16:38 | |
not sure what "for development" means, does this answer it?
| 15:38:44 | |
sorry for the confusion, apparently, cabal2nix does not like the cabal-version: 3.14 | 15:51:24 | |
in a cabal file | 15:51:28 | |
That was I think fixed very recently on the haskell-updates. | 15:52:48 | |
I found a package that has outdated dependency bounds. Trying to build it with
| 16:40:27 | |
cabal2nix doesn't handle conditionals properly (for now), and the deps are behind a if, so they don't survive the conversion to .nix | 17:01:15 | |
https://hackage.haskell.org/package/OTP-0.1.0.0/src/OTP.cabal | 17:01:16 | |
You can workaround by shoving them in with addBuildDepends | 17:01:41 | |
You can see examples in the configuration-ghcjs-9.x and configuration-darwin files | 17:02:26 |