[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, but I don't see things get compiled twice.

Did something change regarding this? Or have I now ended up with only
profiling versions (potentially slower) of all haskell packages?

Thanks,
Mathijs
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


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] http://hydra.nixos.org/build/8636064/log/raw

___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev