NixOS/nixpkgs — pull request #3743 by ttuegel (2014-08-23 22:11:05+00:00)
Title: Fix ghc-modi hanging in emacs

Use wrapProgram from makeWrapper to wrap ghc-mod and ghc-modi like
haddock. The wrapper code is clearer and hopefully more maintainable. As
a side-effect, the bug where emacs would hang while loading ghc-modi is
fixed.