Haddock calls directly into ghclib by passing our carefully crafted ghc-wrapper. This means that haddock needs to be wrapped itself, which this patch does. svn path=/nixpkgs/trunk/; revision=24716
svn path=/nixpkgs/trunk/; revision=22620
svn path=/nixpkgs/trunk/; revision=20904