!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

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


SenderMessageTime
2 Jun 2025
@teoc:matrix.orgTeo (he/him)I guess then you want to use clang as well? Otherwise you don't get LTO(?) I don't know how C/C++ linker stuff works12:15:02
@emilazy:matrix.orgemilymixing linkers is fine12:18:43
@emilazy:matrix.orgemilybut we probably won't want to use a different linker just for Haskell unless we need to12:18:56
@emilazy:matrix.orgemily OTOH both ld.gold and ld.bfd sort of suck for Linux to be on so maybe someone should make LLD happen system-wide :P 12:19:23
@emilazy:matrix.orgemily(then again, I'd say the same about GCC vs. LLVM)12:19:35
@teoc:matrix.orgTeo (he/him)The other thing is GHC supports using a different linker to what it was built with, but I'm not sure if it's worthwhile making use of that. You'd have to split it into a bindist derivation and an installed GHC derivation. It would save building GHC n times though12:21:31
@sternenseemann:systemli.orgsterni (he/him) emily: it's probably better to use lld over ld.gold longterm, but we'd have to check first how bad ld.bfd is nowadays 12:43:43
@sternenseemann:systemli.orgsterni (he/him)I wonder if GHC's configure script still rejects ld.bfd…12:44:12
@teoc:matrix.orgTeo (he/him)I'd be keen to just make it an opt-in thing for now, and then at some point in the future we can make it the default if we want12:49:44
@alex:tunstall.xyzAlex
In reply to @emilazy:matrix.org
OTOH both ld.gold and ld.bfd sort of suck for Linux to be on so maybe someone should make LLD happen system-wide :P
I've found mold to be even better than lld.
But it doesn't (didn't?) support the weird things GHC does. :(
18:24:42

Show newer messages


Back to Room ListRoom Version: 6