!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

684 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 infrastructure135 Servers

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


SenderMessageTime
22 Feb 2025
@emilazy:matrix.orgemilyyou're saying Nixpkgs gets to maintain yet another GHC build system? :)00:26:29
@alex:tunstall.xyzAlexUnfortunately, that may be the sanest way of booting GHC from source.00:30:16
@emilazy:matrix.orgemilyit would be cool if we beat Guix to the punch for a from-source GHC bootstrap (not sure if they've already incorporated MicroHs)00:30:46
@alex:tunstall.xyzAlexSolution: upstream it to GHC :D00:30:46
@janus.troelsen:matrix.orgJanus
In reply to @alex:tunstall.xyz
Unfortunately, that may be the sanest way of booting GHC from source.
but doesn't GHC have DataKinds and Type families? how could microhs compile that?
03:38:05
@janus.troelsen:matrix.orgJanusI mean the source itself uses those extensions03:38:42
@emilazy:matrix.orgemilyI assumed it would go via old GHC.03:50:31
@emilazy:matrix.orgemilybtw, it's not clear to me how MicroHs really achieves "source bootstrapping"03:52:33
@emilazy:matrix.orgemilyit seems like you're still basically running a binary blob of combinators derived from Haskell source?03:52:43
@janus.troelsen:matrix.orgJanus you can compile it with hugs 03:52:49
@emilazy:matrix.orgemilyit's just that there's a simple C runtime to run that binary blob03:52:52
@janus.troelsen:matrix.orgJanusyou don't have to use the shipped c03:52:57
@rosscomputerguy:matrix.orgTristan RossI've spent a bit of time working on redoing my GHC LLVM bump PR. One thing I have ran into is it looks like the bootstrap GHC for 8.10 would need to be compiled with the LLVM bump flag to not use LLVM versions < 14. The hope is to move everything to at least LLVM 15 since that'll be sitting in nixpkgs for the next few releases and give us time. Hopefully this MicroHs stuff makes the PR more workable.03:53:04
@emilazy:matrix.orgemilyah, right.03:53:26
@emilazy:matrix.orgemilyI saw that being said here but forgot :)03:53:26
@janus.troelsen:matrix.orgJanus
In reply to @emilazy:matrix.org
I assumed it would go via old GHC.
I would think so to, but it Alex didn't mention that , so it sounds like that's not the plan
03:54:47

Show newer messages


Back to Room ListRoom Version: 6