!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/142 Servers

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


SenderMessageTime
5 Nov 2025
@sternenseemann:systemli.orgsterni (he/him) I think for 9.4 this works, but in general it is not to be expected. You need to coax the rts linker into loading a shared archive which it doesn't necessarily like because it's tricky. dlopen of course only works for shared objects which is the normal way 10:08:33
@sternenseemann:systemli.orgsterni (he/him)(Haskell static archives/object files is not a problem, but arbitrary ones)10:08:56
@b:chreekat.netchreekat Ghc/Cabal is confusing af on this point. I'm spectating right now as people in #GHC:matrix.org try to figure out some forms of static linking 10:56:00
@sternenseemann:systemli.orgsterni (he/him)i mean this is not that great a mystery, only dynamic libs are designed so that they can be dynamically loaded at run time (instead of link time)12:05:15
@sternenseemann:systemli.orgsterni (he/him)so you would not in general expect your repl to br able to do this12:05:34
@b:chreekat.netchreekatWell it's obvious now that you've said it 😄12:15:35
@keypusher:matrix.orgkeypusherRedacted or Malformed Event14:12:49
6 Nov 2025
@denbrahe:matrix.org@denbrahe:matrix.org left the room.15:24:22
7 Nov 2025
@mangoiv.:matrix.orgMangoIV has anybody here thought about enabling -finfo-table-map in nixpkgs? 15:29:15
@maralorn:maralorn.demaralornYes16:20:44
@maralorn:maralorn.demaralornme16:20:45
@maralorn:maralorn.demaralornI discussed this with ben. The problem is, that it increases binary size significantly. So we probably can’t enable it by default. And its also not possible to strip it in binaries which don’t want it.16:21:59
@maralorn:maralorn.demaralornSo the best available option would be to replace our profiling builds with an info-table-map build.16:22:30
@maralorn:maralorn.demaralorn* So the best available option would be to replace our profiling builds with an info-table-map build by default.16:22:43
@maralorn:maralorn.demaralornBut I actually really wanna do it.16:27:15

Show newer messages


Back to Room ListRoom Version: 6