!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/ | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org142 Servers

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


SenderMessageTime
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
@sternenseemann:systemli.orgsterni (he/him)We could08:26:55
@maralorn:maralorn.demaralornbtw. what’s up with the nixpkgs-ci bot regularly closing and opening PRs? Seems a bit spamy?^^08:27:07
@maralorn:maralorn.demaralornFixing stuff on staging-next really sucks for review builds …08:28:26
@wolfgangwalther:matrix.orgWolfgang WaltherThat's whenever you change the base branch of a PR. It's a lot less spammy than the alternatives.08:43:28
@maralorn:maralorn.demaralornIt prevents the mass pings?08:45:39

Show newer messages


Back to Room ListRoom Version: 6