!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

721 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
27 Jul 2025
@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
@maralorn:maralorn.demaralornA big change typed on my stupid phone.12:24:23
@bkl:matrix.orgdanabig change - the default ghc upgrade from 429212?12:25:03
@maralorn:maralorn.demaralornRegarding staging-next I think that branch gets created fresh at some point the PR that you are looking for will be staging-next -> master.12:26:42
@maralorn:maralorn.demaralorn * 12:27:22
@qyliss:fairydust.spaceAlyssa RossIt never gets recreated — staging just gets merged into it when it's time for a new cycle.12:33:19
@bkl:matrix.orgdana
In reply to @qyliss:fairydust.space
It never gets recreated — staging just gets merged into it when it's time for a new cycle.
How can I find commits/PRs that correspond to this? 
12:35:33
@mrcjk:matrix.orgMarc Jakobi joined the room.12:37:24
@qyliss:fairydust.spaceAlyssa Ross git log --merges --grep="staging.*staging-next" origin/staging-next would probably be reasonably accurate 12:37:33
@qyliss:fairydust.spaceAlyssa RossNext staging-next won't be for at least a week, because we just started staging-next-25.0512:38:11
@bkl:matrix.orgdanaYou mean this one, right? https://github.com/NixOS/nixpkgs/pull/429274 And no more commits will be added to it, only fixes?12:41:14

Show newer messages


Back to Room ListRoom Version: 6