!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

704 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
5 Nov 2025
@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
@maralorn:maralorn.demaralornSo maybe we can try enabling it and see if anyone complains. 😄16:27:32
@teoc:matrix.orgTeo (he/him)Also infotable map completely disabled dead code elimination since the table keeps every section alive17:34:54
@teoc:matrix.orgTeo (he/him) * 17:35:00
@teoc:matrix.orgTeo (he/him)What would be great is being able to rebuild base with ipe info easily without rebuilding ghc17:42:16
@sternenseemann:systemli.orgsterni (he/him)then that's a hard no…19:20:35
@b:chreekat.netchreekatDidn't I hear from mpickering in some talk recently that profiling mode is almost never what you want nowadays? You already get a bunch of great stuff "for free", and then when you want more you still don't usually want -fprof. I could be remembering this all wrong though19:21:25
@maralorn:maralorn.demaralornNo, that is completely correct.19:24:09
@maralorn:maralorn.demaralornThat’s why we should probably do something about it in nixpkgs.19:24:52
@maralorn:maralorn.demaralornThe problem is, that profiling builds had another ending. I don’t think simply building libraries twice with different flags would just work.19:25:37
@b:chreekat.netchreekatAhh that's a shame19:31:37
@maralorn:maralorn.demaralornBut I haven’t looked into it much. It might be quite feasible.19:39:42
@maralorn:maralorn.demaralornBut it would also be kinda a breaking change. Who knows whe relies on profiling builds.19:40:07
@maralorn:maralorn.demaralorn* But it would also be kinda a breaking change. Who knows who relies on profiling builds.19:40:11
@Ericson2314:matrix.orgJohn Ericson srk ⚡️: I think the PR is finally working! 19:43:35
@Ericson2314:matrix.orgJohn Ericson(the hnix-store one)19:44:10
@alexfmpe:matrix.orgalexfmpe
In reply to @b:chreekat.net
Didn't I hear from mpickering in some talk recently that profiling mode is almost never what you want nowadays? You already get a bunch of great stuff "for free", and then when you want more you still don't usually want -fprof. I could be remembering this all wrong though
I'm told that nowadays you can also get flamegraphs without profiling builds
20:02:09
@Ericson2314:matrix.orgJohn Ericson alexfmpe: you don't have perms on that library do you? :) 20:04:21
@alexfmpe:matrix.orgalexfmpeHuh? Which lib20:08:28
@maralorn:maralorn.demaralornYes, but they are often relatively useless when not all your dependencies are compiled with -finfo-table-map.20:09:20

Show newer messages


Back to Room ListRoom Version: 6