Cabal dependencies, bug in haddock wrapper script