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