!RbXGJhHMsnQcNIDFWN:nixos.org

Haskell in Nixpkgs/NixOS

711 Members
For discussions and questions about Haskell with Nix, cabal2nix and haskellPackages in nixpkgs | Current Docs: https://nixos.org/manual/nixpkgs/unstable/#haskell | Current PR: https://github.com/nixos/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Ahaskell-updates | Maintainer Docs: https://github.com/NixOS/nixpkgs/blob/haskell-updates/pkgs/development/haskell-modules/HACKING.md | More Nix: #community:nixos.org | More Haskell: #haskell-space:matrix.org | Merger Schedule: https://cloud.maralorn.de/apps/calendar/p/H6migHmKX7xHoTFa/dayGridMonth/now | Join #haskell.nix:libera.chat for question about the alternative haskell.nix infrastructure141 Servers

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


SenderMessageTime
1 Mar 2026
@benjaminedwardwebb:envs.net@benjaminedwardwebb:envs.net removed their profile picture.05:50:27
@benjaminedwardwebb:envs.net@benjaminedwardwebb:envs.net left the room.05:50:28
@danl:envs.net@danl:envs.net left the room.08:55:04
@flandweber:envs.net@flandweber:envs.net removed their display name Finn Landweber.12:17:10
@flandweber:envs.net@flandweber:envs.net left the room.12:17:17
@fr1d4y:envs.net@fr1d4y:envs.net 12:36:09
@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.orgPhilip 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
@alexfmpe:matrix.orgalexfmpe I see .o and .p_o in logs all the time 19:25:12
@tigergoatkouhai282:matrix.orgGlowupFeathers joined the room.20:38:25

Show newer messages


Back to Room ListRoom Version: 6