[Nix-dev] Haskell-env (via nix-shell) - am I doing this right?
Peter Simons
simons at cryp.to
Fri May 22 21:49:55 CEST 2015
Hi Ricardo,
> Out of curiosity, why is that "shellHook" stuff needed on every
> package?
>
> Couldn't "ghcWithPackages" export those variables instead (as a
> "setupHook")?
yes, I suppose it's possible to extend ghcWithPackages in such a way
that it exports those settings automatically (or at provides a really
simple way to set them, at lest). It's just that nobody has implemented
this feature yet.
Best reards,
Peter
More information about the nix-dev
mailing list