[Nix-dev] Haskell-env (via nix-shell) - am I doing this right?

Ricardo M. Correia rcorreia at wizy.org
Fri May 22 20:58:02 CEST 2015


On Fri, May 22, 2015 at 8:16 PM, Peter Jones <mlists at pmade.com> wrote:

> To start out, I'm using HaskellNG and a recent version of nixpkgs where
> HaskellNG is the default.  Here are the components I use with some
> examples:
>
>   1) I write a default.nix that describes my dependencies:
>
>         https://github.com/pjones/byline/blob/master/default.nix


Thanks for the example!

Out of curiosity, why is that "shellHook" stuff needed on every package?

Couldn't "ghcWithPackages" export those variables instead (as a "setupHook
")?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150522/9045ff24/attachment-0001.html 


More information about the nix-dev mailing list