[Nix-dev] Re: cabal not working well out the box
Marc Weber
marco-oweber at gmx.de
Tue Dec 28 16:38:27 CET 2010
Hi Paul,
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.
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
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.
Marc Weber
More information about the nix-dev
mailing list