!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

680 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure134 Servers

Load older messages


SenderMessageTime
19 Sep 2025
@maralorn:maralorn.demaralornI mean it’s generally much more likely that this is to due to differences in a specific package. But I remember vaguely that we merged something related to ghcWithPackages in the last months.11:12:26
@bglgwyng:matrix.orgbglgwyngCould you share the commit ref please? I want to compare before and after.11:13:43
@maralorn:maralorn.demaralornHuh, er maybe we didn’t merge it and it was just a PR.11:13:50
@bglgwyng:matrix.orgbglgwyngHm... then now I am going to start binary search over then lol11:14:20
@maralorn:maralorn.demaralornHuh, I can’t find anything that makes sense.11:16:13
@maralorn:maralorn.demaralornCould be d3e4f784aa1bb95ad8a13cadc7073e6617658f2f, but seems highly unlikely.11:16:32
@maralorn:maralorn.demaralornGood luck with that. I find it somehow very satisfying to do that even though it takes much time. It’s so cool when the power of the logarithm works for you. 😄11:17:36
@sternenseemann:systemli.orgsterni
In reply to @bglgwyng:matrix.org
it seems generic-builder runs Setup.hs to build cabal packages.
yes, that’s Cabal
13:12:37
@wolfgangwalther:matrix.orgWolfgang Walther@sterni @maralorn it looks like the next staging-next cycle will start this weekend. Do you think we're close enough with the current iteration to catch that? I think it would make sense to still give this major update a bit of exposure on unstable, before we hit the freeze. We will certainly have at least one more staging cycle after that, but until that hits master, we're really close to release already. WDYT?18:38:49
@wolfgangwalther:matrix.orgWolfgang Walther * sterni maralorn it looks like the next staging-next cycle will start this weekend. Do you think we're close enough with the current iteration to catch that? I think it would make sense to still give this major update a bit of exposure on unstable, before we hit the freeze. We will certainly have at least one more staging cycle after that, but until that hits master, we're really close to release already. WDYT? 18:39:16
@sternenseemann:systemli.orgsterniI feel like it’s possible yeah, especially since we can still fix stuff on staging18:42:37
@sternenseemann:systemli.orgsternishould maybe look at the broken list as of right now18:42:57
@wolfgangwalther:matrix.orgWolfgang WaltherAre you going to give the new blazing fast script a run or should I?18:43:37
@sternenseemann:systemli.orgsternifeel free to I’m obly on the phone at the moment18:44:27
@sternenseemann:systemli.orgsterni* feel free to I’m only on the phone at the moment18:44:34
@wolfgangwalther:matrix.orgWolfgang Waltherwill do.. and put it in a PR at first, so that we can just have a look for now.18:47:19
@maralorn:maralorn.demaralornI think I haven’t made it through all my packages. I think especially hls should really work on all versions. But it seems fair to put a bit pressure on that because I had enough time already.18:52:55
@wolfgangwalther:matrix.orgWolfgang WaltherI fixed some easy ones of yours yesterday, but not HLS :D18:53:50
20 Sep 2025
@wolfgangwalther:matrix.orgWolfgang WaltherList in https://github.com/NixOS/nixpkgs/pull/444422, we should merge before "either tonight or tomorrow", when staging-next will be created.09:59:00
@sternenseemann:systemli.orgsterniI’ll make a list of packages I’d want to fix on staging-next and then merge it later11:17:05
@maralorn:maralorn.demaralorn Wolfgang Walther: sterni Who wants to answer on https://github.com/NixOS/nixpkgs/issues/444721? I think the main point is that we will achieve the switch to 9.10 and have no blockers. Right? 19:10:34
21 Sep 2025
@bglgwyng:matrix.orgbglgwyngI found that 7479392276eede7c7cb89abf1693e8ef9ae5aebd fixed the issue05:25:55
@bglgwyng:matrix.orgbglgwyngbut it's just a stackage snapshot update, so there's a problem in my package override logic.05:26:22
@bglgwyng:matrix.orgbglgwyngI did 10+ python3, ghc build for 1 day bisecting between 60,000 commits lol05:27:01
@bglgwyng:matrix.orgbglgwyng

https://github.com/bglgwyng/nix-x-cabal/blob/main/modules/cabal-project.nix#L181

I build configured packages and put them into the package db by using ghcWithPackage.
Is is safe way to do it? Do we have a more lower level function to build package db?

05:50:13
@bglgwyng:matrix.orgbglgwyng *

https://github.com/bglgwyng/nix-x-cabal/blob/main/modules/cabal-project.nix#L181

I build configured packages in plan.json and put them into the package db by using ghcWithPackage.
Is is safe way to do it? Do we have a more lower level function to build package db?

05:50:22
@wolfgangwalther:matrix.orgWolfgang WaltherWe had planned to look at Template Haskell in pkgsStatic for this release cycle and I feel that we really shouldn't push this out much further. The gap between pkgsStatic with GHC 9.4 and default with GHC 9.10 is widening now. I think we should discuss how to proceed here first, before deciding on whether we have any blockers or not.07:46:43
@maralorn:maralorn.demaralornI just tried to run nixpkgs-review unix2dos PR and got 23k builds. I feel like I am holding it wrong.08:17:58
@opna2608:matrix.orgPunaif you're using local evaluation to get the list of rebuilds, try applying this patch: https://github.com/Mic92/nixpkgs-review/commit/558b6d4da3032bb43c396d6042c41681ac2b940808:22:09
@sternenseemann:systemli.orgsterni maralorn: sounds about right 08:23:02

Show newer messages


Back to Room ListRoom Version: 6