[Nix-dev] stack2nix first public release (0.1.3.0)
Domen Kožar
domen at dev.si
Fri Jun 30 10:53:25 CEST 2017
On Fri, Jun 30, 2017 at 10:49 AM, Peter Simons <simons at nospf.cryp.to> wrote:
> Hi Domen,
>
> > callHackage will generate Nix expression on each call, which does
> > bring some overhead.
>
> I'm pretty sure that it won't do that. Unless the generated expressions
> are garbage collected, they won't be re-built.
>
>
That was my point, you generate new Nix files additionally.
Regardless, afaik it doesn't resolve the need for `cabal update`.
stack2nix uses hnix to modify the cabal2nix output a bit, to strip out test
dependencies,
so until this approach is taken, we can't use callHackage.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/nix-dev/attachments/20170630/06e9f0c1/attachment.html>
More information about the nix-dev
mailing list