[Nix-dev] haskellPackages_ghc763_profiling

2014-02-06 Thread Mathijs Kwik
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,

Re: [Nix-dev] haskellPackages_ghc763_profiling

2014-02-06 Thread Peter Simons
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]