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 _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
