!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

743 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.org148 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@sternenseemann:systemli.orgsterni (he/him)In practice, throwing away the cache you accrue with the RC is not a big deal, but if it was e.g. GHC 9.10.4-rc1, you'd still have to wait for 7k jobs to be built while not gaining testing any change you can actually merge unless you wait on whatever schedule the actual release gets published11:40:47
@sternenseemann:systemli.orgsterni (he/him)given that we currently have a 1-2 week waiting period after a bump has been finished until it reaches master, this delays ordinary package updates massively.11:41:26
@sternenseemann:systemli.orgsterni (he/him) teo (they/he): does QuasiQuotes also work for cross? does that use byte code and internal interpreter or what? 12:00:55
@teoc:matrix.orgTeo (he/him) So QuaiQuotes is just syntax sugar for $(quoteExp "...") etc, so it works the same as regular splices. You should be able to use it with the external interpreter if you have that set up 12:05:47
@sternenseemann:systemli.orgsterni (he/him)okay but it does need the external interpreter12:06:12
@sternenseemann:systemli.orgsterni (he/him)meh12:06:14
@teoc:matrix.orgTeo (he/him)yeah you either need internal or external12:06:28
@alexfmpe:matrix.orgalexfmpe MangoIV: sterni: what about doing it the other way around? say, teaching ghc.nix to build haskellPackages with local ghc 12:17:32
@alexfmpe:matrix.orgalexfmpenon-haskell caching would come from nixos, and haskell packages caching is all invalidated at the slightest change to ghc working tree anyway12:19:15
@alexfmpe:matrix.orgalexfmpeIIUC the goal here is just to throw a testbed at RC12:19:40
@alexfmpe:matrix.orgalexfmpeand we have infra for that in nixpkgs (and nowadays for lots of cross targets) so ghc.nix can re-use just that?12:20:14
@teoc:matrix.orgTeo (he/him)I think it would be reasonable to teach head.hackahe to use nix drvs. It used to do this in the past but it was undo for reasons12:20:34
@teoc:matrix.orgTeo (he/him) * 12:20:50
@teoc:matrix.orgTeo (he/him) * 12:21:07
@mangoiv.:matrix.orgMangoIVI mean that would also be fine. I don't know if we have the CI capacities but we may be able to make do. 12:41:11
@mangoiv.:matrix.orgMangoIV I personally don’t care about it being nix drvs but about the size of the package set. 12:54:29
@teoc:matrix.orgTeo (he/him)yeah that's fair. for non-HEAD builds we really need to be building all of stackage/nixpkgs set in head.hackage for rcS12:56:19
@teoc:matrix.orgTeo (he/him)We had this working a few years ago12:59:34
@mangoiv.:matrix.orgMangoIVare there issues for what needs to be done? 13:08:16
@teoc:matrix.orgTeo (he/him)https://gitlab.haskell.org/ghc/head.hackage/-/issues/72 there was a working branch but it never got merged13:21:50
@sternenseemann:systemli.orgsterni (he/him) MangoIV: the package set size is completely unknown for the non default version though 13:30:00
@sternenseemann:systemli.orgsterni (he/him)for older versions than the default it's pretty good in general, but newer ones is pretty spotty usually13:30:29
@sternenseemann:systemli.orgsterni (he/him)especially since a lot of people who used to contribute fixes for those seem to have moved on (to haskell.nix? horizon haskell? no clue)13:30:53
@sternenseemann:systemli.orgsterni (he/him) MangoIV: teo (they/he) see also https://github.com/NixOS/nixpkgs/pull/146381 13:39:10
@teoc:matrix.orgTeo (he/him) This looks cool! I'll take a look 13:40:43
@mangoiv.:matrix.orgMangoIVthis indeed looks cool. I wonder how bad the conflicts will be 13:47:35
@mangoiv.:matrix.orgMangoIVbut maybe there's some usable things in there. 13:47:40
@mangoiv.:matrix.orgMangoIVthat's fine. As long as we can discover this a posteriori, I think it's okay if we don't build all packages. 13:48:53
@mangoiv.:matrix.orgMangoIVwhat changed? No maintenance hours? 13:49:23
@teoc:matrix.orgTeo (he/him) I think the main issue is just that it never got merged, so idk if it has coderotted or not. I want to rebase and merge it at some point and then we can iterate from there. But I struggle to find time to do anything other than keep head.hackage building with HEAD 13:50:45

Show newer messages


Back to Room ListRoom Version: 6