[Nix-dev] Reducing haskell closures with multiple outputs
Shea Levy
shea at shealevy.com
Wed Jan 28 17:46:40 CET 2015
OK, I’ll take a look at this then, thanks!
> On Jan 28, 2015, at 11:08 AM, Peter Simons <simons at cryp.to> wrote:
>
> Hi Shea,
>
>> Have you looked into how we could make haskell closures smaller with
>> multiple outputs?
>
> I briefly thought about it, but I haven't put any actual effort into the
> subject yet. It's clear that the first step has to be to multi-output'ify
> GHC. It's probably just a matter of figuring out the proper configure flags
> to make the compiler install libs, docs, and binaries into separate store
> paths. The boost expression [1] might be a good example of how to do that
> (i.e. how to create a "ghc" derivation that automatically propagates all
> other outputs for sake of convenience). Once we've split GHC into modules,
> it shouldn't be hard to modify the generic Haskell builder to do the same
> thing with the packages we compile.
>
> It would be great if you (or anyone else) can take a shot at this. My focus
> right now is to improve the cabal2nix/hackage2nix utilities, and that's
> gonna keep me occupied for the next 2-3 weeks.
>
> Best regards,
> Peter
>
>
> [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/boost/generic.nix
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
More information about the nix-dev
mailing list