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.org | 143 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Jul 2025 | ||
| 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 | |
| A big change typed on my stupid phone. | 12:24:23 | |
| big change - the default ghc upgrade from 429212? | 12:25:03 | |
| Regarding 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 | |
| * | 12:27:22 | |
| It never gets recreated — staging just gets merged into it when it's time for a new cycle. | 12:33:19 | |
In reply to @qyliss:fairydust.spaceHow can I find commits/PRs that correspond to this? | 12:35:33 | |
| 12:37:24 | ||
git log --merges --grep="staging.*staging-next" origin/staging-next would probably be reasonably accurate | 12:37:33 | |
| Next staging-next won't be for at least a week, because we just started staging-next-25.05 | 12:38:11 | |
| You 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 | |