Hi Marc, On Tue, Dec 28, 2010 at 16:38:27 +0100, quoth Marc Weber: > Some confusion may arise if you install ghc-X and cabal which was > compiled by ghc-Y into your environment. However its not important to > me.
Hm, indeed. > As alternative you could create a collection containing cabal and ghc this > way: > http://wiki.nixos.org/wiki/Howto_keep_multiple_packages_up_to_date_at_once I looked at that, thanks, but that wouldn't help anyone else, whereas I hoped this might be benificial to others. I could, of course, submit the collection, but that would have a name which would be non-obvious to a newcomer, at least that was my thinking... > Except that your patch looks fine (unless you prefer Peters way: > wrapping cabal so that binutils is added to PATH). Maybe its the better > solution because it has no impact on other applications. > Probably having binutils in your env doesn't hurt much so I'm not sure > which solution I'd prefer. > You would do this using "wrapProgram" passing makeWrapper to > buildInputs. Ah yes, I didn't make a wrapper as I didn't know how. Maybe I'll do this instead. It's probably the Right Way. Or is it? Paul -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
signature.asc
Description: Digital signature
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
