patch applied (cabal): Revert the change about the --internal flag and a warning about haddock