[GHC] #10115: Unable to run cabal haddock --hoogle on GHC 7.10