Haskell in Nixpkgs/NixOS | 718 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 | 143 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Jul 2025 | ||
| we should cross compile some bindists before it stops being possible :p | 20:25:18 | |
| True, maybe time to try asking around again. | 21:34:49 | |
| sterni: I figure we should probably take the oama cabal discussion here. Should I just leave it pinned to the old GHC version, or try overriding it with a newer Cabal version, or something else? | 21:55:01 | |
| Full disclosure, I am not familiar with Haskell tooling, and only maintain oama in nixpkgs because I have a strong need for a working OAUTH credential manager that can use the Secrets Service interface. | 21:56:19 | |
| 27 Jul 2025 | ||
In reply to @sternenseemann:systemli.orgBtw if there's issues the nixpkgs maintainers would like emphasized more, I'm happy to raise things at the GHC meetings. No guarantees that stuff will get prioritised but it might help avoid stuff falling through the cracks | 12:41:23 | |
In reply to @teoc:matrix.orgDo you know if anyone is looking into making cross work with Hadrian? It would probably be far more effort than adding our own bindists to tarballs.nixos.org and is of limited benefit to x86 and aarch64, so I could understand if nobody wants to do it. | 15:54:29 | |
In reply to @alex:tunstall.xyzMaybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ? | 16:08:09 | |
In reply to @alex:tunstall.xyz* Maybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ? | 16:10:12 | |
In reply to @alex:tunstall.xyz* Maybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ? Is there a specific set of issues you have in mind? | 16:13:07 | |
| 17:05:13 | ||
| 17:15:15 | ||
| 17:24:22 | ||
In reply to @teoc:matrix.orgThat sounds like precisely it, yes. Maybe if I get the time I'll try applying the MR in Nixpkgs... | 17:34:35 | |
| There's also been a lot of work recently on making more boot libs easy to reinstall and on ghc-toolchain. Both of those should make everything cross related easier to implement in a nice way | 18:04:53 | |
| 28 Jul 2025 | ||
| I'm trying to fix broken packages, starting with
I get the following error:
Am I missing a step or doing something wrong? | 13:53:54 | |
| So you modified json and now you're getting a "user error: invalid json"? :D | 14:17:34 | |
| Yeah, sounds like you made a syntax error in the yaml files. | 14:49:19 | |
| Well, I didn't think my changes could be the source but I checked anyway: I get the error with a clean working directory. | 16:30:42 | |
| I just checked out recent nixos-unstable and it seems to work. | 17:58:30 | |
| * I just checked out recent nixos-unstable and it seems to work for me. | 17:58:44 | |
| 29 Jul 2025 | ||
| maralorn: do you have time to give https://github.com/NixOS/nixpkgs/pull/429212 a look over or should I just merge it and start an evaluation | 11:46:13 | |
| * maralorn: do you have time to give https://github.com/NixOS/nixpkgs/pull/429212 a look over or should I just merge it and start an evaluation? | 11:46:16 | |
| or others with relevant experience of course :p | 11:57:57 | |
| I can take a look later. | 12:29:00 | |
| Pierre Thierry: Feel free to open an issue about it, including enough information to hopefully reproduce the issue you're seeing. | 17:12:26 | |
| 30 Jul 2025 | ||
| I need somethings from the https://github.com/NixOS/nixpkgs/pull/424162, which is now merged into staging. However, when I try to use it locally the caches aren't populated just yet, so I end up recompiling GHC. The caches are a bit confusing since staging or haskell-updates rev that I need don't have the cache, but it's not clear to me when are these changes going to end up in staging-next or master (which do have the caches). Slightly unrelated question: how do things get merged from staging to staging-next in general? Because the https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging says that there should be a manual PR. However, I don't see anything similar when I search for PRs from staging to staging-next: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+base%3Astaging-next+head%3Astaging+ | 12:17:46 | |
| * I need somethings from the https://github.com/NixOS/nixpkgs/pull/424162, which is now merged into staging. However, when I try to use it locally the caches aren't populated just yet, so I end up recompiling GHC. The caches are a bit confusing since staging or haskell-updates rev that I need don't have the cache, but it's not clear to me when are these changes going to end up in staging-next or master (which do have the caches). When do these changes usually propagate to master? Or what ref/rev should I take to get the caches earlier? Slightly unrelated question: how do things get merged from staging to staging-next in general? Because the https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#staging says that there should be a manual PR. However, I don't see anything similar when I search for PRs from staging to staging-next: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+base%3Astaging-next+head%3Astaging+ | 12:19:40 | |
In reply to @bkl:matrix.orghaskell-updates also gets cached, but there was a bag change today so you probably want a commit from a few days ago. | 12:22:33 | |
| https://hydra.nixos.org/jobset/nixpkgs/haskell-updates trick: pick the mentioned commit from the eval three days ago | 12:23:38 | |
In reply to @maralorn:maralorn.deHmm, okay, thanks! I was trying to pull the last commit from the PR but it didn't have the cache. What is a bag change? | 12:23:48 | |