"Ricardo M. Correia" <[email protected]> writes: > On Fri, May 22, 2015 at 8:16 PM, Peter Jones <[email protected]> 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 > ")?
I stole those lines from someone else and haven't taken the time to verify that they are actually needed. Maybe someone with more knowledge than me can speak to this point. -- Peter Jones, Founder, Devalot.com Defending the honor of good code _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
