!RbXGJhHMsnQcNIDFWN:nixos.org

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.org143 Servers

Load older messages


SenderMessageTime
26 Jul 2025
@sternenseemann:systemli.orgsterni (he/him)we should cross compile some bindists before it stops being possible :p20:25:18
@alex:tunstall.xyzAlexTrue, maybe time to try asking around again.21:34:49
@aidalgol:matrix.orgaidalgol 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
@aidalgol:matrix.orgaidalgolFull 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
@teoc:matrix.orgTeo (he/him)
In reply to @sternenseemann:systemli.org
we should cross compile some bindists before it stops being possible :p
Btw 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
@alex:tunstall.xyzAlex
In reply to @teoc:matrix.org
Btw 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
Do 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
@teoc:matrix.orgTeo (he/him)
In reply to @alex:tunstall.xyz
Do 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.
Maybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ?
16:08:09
@teoc:matrix.orgTeo (he/him)
In reply to @alex:tunstall.xyz
Do 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.
* Maybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ?
16:10:12
@teoc:matrix.orgTeo (he/him)
In reply to @alex:tunstall.xyz
Do 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.
*

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
@pkmean:matrix.org@pkmean:matrix.org joined the room.17:05:13
@pkmean:matrix.org@pkmean:matrix.org left the room.17:15:15
@foxmean:unredacted.orgfoxmean joined the room.17:24:22
@alex:tunstall.xyzAlex
In reply to @teoc:matrix.org

Maybe this https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11444 ?

Is there a specific set of issues you have in mind?

That sounds like precisely it, yes.
Maybe if I get the time I'll try applying the MR in Nixpkgs...
17:34:35
@teoc:matrix.orgTeo (he/him)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 way18:04:53
28 Jul 2025
@kephaspierre:matrix.orgPierre Thierry

I'm trying to fix broken packages, starting with polysemy-zoo, I have the latest master from the nixpkgs repo, and the only files modified are broken.yaml and main.yaml in configuration-hackage2nix, but when I do:

./maintainers/scripts/haskell/regenerate-hackage-packages.sh

I get the following error:

hackage2nix: user error (Unexpected end-of-input, expecting JSON value)

Am I missing a step or doing something wrong?

13:53:54
@b:chreekat.netchreekatSo you modified json and now you're getting a "user error: invalid json"? :D14:17:34
@maralorn:maralorn.demaralornYeah, sounds like you made a syntax error in the yaml files.14:49:19
@kephaspierre:matrix.orgPierre ThierryWell, 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
@maralorn:maralorn.demaralornI just checked out recent nixos-unstable and it seems to work.17:58:30
@maralorn:maralorn.demaralorn* I just checked out recent nixos-unstable and it seems to work for me.17:58:44
29 Jul 2025
@sternenseemann:systemli.orgsterni (he/him) 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
@sternenseemann:systemli.orgsterni (he/him) * 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
@sternenseemann:systemli.orgsterni (he/him)or others with relevant experience of course :p11:57:57
@maralorn:maralorn.demaralornI can take a look later.12:29:00
@sternenseemann:systemli.orgsterni (he/him) 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
@bkl:matrix.orgdanaI 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
@bkl:matrix.orgdana* 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
@maralorn:maralorn.demaralorn
In reply to @bkl:matrix.org
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+
haskell-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
@maralorn:maralorn.demaralornhttps://hydra.nixos.org/jobset/nixpkgs/haskell-updates trick: pick the mentioned commit from the eval three days ago12:23:38
@bkl:matrix.orgdana
In reply to @maralorn:maralorn.de
haskell-updates also gets cached, but there was a bag change today so you probably want a commit from a few days ago.
Hmm, 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

Show newer messages


Back to Room ListRoom Version: 6