Hi all,
Before nixos, I remember that enabling profiling in .cabal/config lead
to double compilation times, because things got compiled twice. Once
normal/optimized, and once with profiling info.
With nixos, I wired haskellPackages to haskellPackages_ghc763_profiling
through packageOverrides,
Hi Mathijs,
every library module is compiled twice in the profiling variant of the Haskell
package set. Check out [1] as an example: the module Data.Text.Fusion.Internal
is compiled once to generate an *.o file and once to generate an *.p_o file.
Take care,
Peter
[1]