!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

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

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


SenderMessageTime
1 Mar 2026
@fr1d4y:envs.net@fr1d4y:envs.net removed their display name fr1d4y.12:36:28
@fr1d4y:envs.net@fr1d4y:envs.net left the room.12:41:59
@allandinakaran:matrix.orgAllan Dinakaran joined the room.16:37:08
@magpi:matrix.org@magpi:matrix.org left the room.21:29:45
@philipwilk:matrix.orgJade w joined the room.22:41:32
2 Mar 2026
@iclanzan:matrix.orgiclanzan joined the room.01:25:33
@iclanzan:matrix.orgiclanzan

I’ve been happily using Haskell for a couple of years through Nix like so:

(pkgs.haskell.packages.ghc910.override {overrides = ...;}).ghcWithPackages(p: [...])

However recently one of my haskell apps started crashing with an exception from time to time. I am hunting for a way to have a call-stack printed for these exceptions. Since I don’t control third party libraries I cannot add HasCallstack to them to be able to debug that way so I have been trying to compile with -prof for the last couple of days with no success.

Does anyone have a working example of how to get this working?

14:19:07
@alexfmpe:matrix.orgalexfmpeI thought nixpkgs built everything with and without profiling by default?19:24:59

Show newer messages


Back to Room ListRoom Version: 6