On Fri, Jun 30, 2017 at 10:49 AM, Peter Simons <sim...@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.
_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to