!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

713 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://haskell4nix.readthedocs.io/142 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Sep 2025
@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 (he/him)
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.orgsterni (he/him)I feel like it’s possible yeah, especially since we can still fix stuff on staging18:42:37
@sternenseemann:systemli.orgsterni (he/him)should 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.orgsterni (he/him)feel free to I’m obly on the phone at the moment18:44:27
@sternenseemann:systemli.orgsterni (he/him)* 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.orgsterni (he/him)I’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 (he/him) maralorn: sounds about right 08:23:02
@maralorn:maralorn.demaralornOkay. I mean, I don’t think we can realistically hold-up the release so this would be more like setting ourselves a deadline. I have no stakes in pkgsStatic I don’t know much about the current problem and I don’t use it. But if there is a way forward to fix it I would of course like that to happen.08:23:52
@maralorn:maralorn.demaralornI see. Then I was just … naive.08:24:05
@maralorn:maralorn.demaralornWould it make more sense then to merge it into haskell-updates to get more visibility whether it breaks any haskell packages?08:26:26

Show newer messages


Back to Room ListRoom Version: 6