!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

Load older messages


SenderMessageTime
6 Sep 2025
@emilazy:matrix.orgemilyI guess they made it an error and then reverted that?17:32:43
@sternenseemann:systemli.orgsterniyeah sounds like it, tbh I linked this before I read the diff17:37:14
@sternenseemann:systemli.orgsterniconfigure would still fail looks like17:38:43
@sternenseemann:systemli.orgsternibut I guess the wording is significant…17:38:55
@emilazy:matrix.orgemily insofar as LLVM support on old GHCs is cared about it still makes sense to backport even the trivial bumps because it shuts up the warning on every single .hs 18:10:56
@emilazy:matrix.orgemilybut yeah, when I was looking over all the issues and patches and bumps it seemed like the compatibility issues were all "obvious hard error from CLI change" type things (and even some of those only discovered/fixed after the fact)18:12:20
@emilazy:matrix.orgemily there's things like the LoongArch64 -mcmodel stuff that I linked in the file, but those aren't really related to the version 18:12:48
@emilazy:matrix.orgemilylike there are "non-obvious bugs/infelicities in the LLVM backend" and there are "obvious compat issues with how they invoke it that produce hard errors when bumping the version", but I couldn't really find anything in the intersection of those18:14:02
@emilazy:matrix.orgemilyand several of the bump changes make it clear that the QA process is just "make sure it bootstraps" anyway18:14:28
@emilazy:matrix.orgemilyer not intersection exactly. you know what i mean :)18:15:20
@sternenseemann:systemli.orgsterniLLVM backend could be totally unusable already now and we wouldn't really know unfortunately.18:22:29
@sternenseemann:systemli.orgsternitechnically, this fix would help LLVM 19 compat insofar as it helps LLVM >= 3.4.0 compat :D https://gitlab.haskell.org/ghc/ghc/-/issues/2501918:26:12
@emilazy:matrix.orgemilywell, it works enough on 9.4 with my patches to build GHC itself at least…18:29:30
@emilazy:matrix.orgemilybut yeah I don't get the impression there is much care for it18:29:53
@emilazy:matrix.orgemily even the LoongArch64 person making an mcmodel fix was like "this isn't a good fix because we should just have NCG" 18:30:03
@sternenseemann:systemli.orgsternitrue, but we don't really exercise it with later versions of GHC I think18:30:04
@emilazy:matrix.orgemilyI did my best, though, in terms of backporting everything LLVM-version-relevant18:30:30
@emilazy:matrix.orgemilypretty sure I was more thorough than upstream is when bumping from what i saw18:30:52
@sternenseemann:systemli.orgsterni yes, I did not find anything you missed; except for a fix for llvm-ar >= 17, but that's unrelated to the llvmPackages we take as an input 18:35:04
@sternenseemann:systemli.orgsterni I think worrying about hostPlatform.useLLVM is for some other time 18:35:24
@emilazy:matrix.orgemilyhm would that not be picked up from the wrapping we do?18:37:59
@emilazy:matrix.orgemily ah I guess it would still just use the regular ar by default? 18:38:00
@emilazy:matrix.orgemily not sure what ar we use on Darwin tbh 18:38:00
@sternenseemann:systemli.orgsterni I think GHC just uses AR, but that's only llvm-ar if useLLVM in nixpkgs (or does darwin use it?). As such it's also controlled by the global default LLVM version, so orthogonal to what we're doing 19:21:28
@emilazy:matrix.orgemilyright19:30:57
@emilazy:matrix.orgemilyI think we might be switching to using more LLVM bintools on Darwin ~soon19:31:05
@emilazy:matrix.orgemilyso it would become relevant then I suppose19:31:08
7 Sep 2025
@emilazy:matrix.orgemily

a hidden message from the gods, the lost last great GHC version:

pkgs/development/haskell-modules/hackage-packages.nix
115923:      sha256 = "06y0pz0rny9pbm5lzc6n64zdf7139dgwbghc908vzndm6pcjrs5h";
00:23:53
@sternenseemann:systemli.orgsternitrust me bro 6 more minor releases and GHC 9.0 is going to be good just 6 more00:37:44
@sternenseemann:systemli.orgsterni20250907_02h36m10s_niri.png
Download 20250907_02h36m10s_niri.png
00:37:59

Show newer messages


Back to Room ListRoom Version: 6