Hi Carter, I finally had the chance to test this on my personal laptop, where I was pretty much free on which version of Cabal/haddock to use. Installing a fresh haddock, and using Cabal-1.20.0.3 (but I suspect it doesn’t matter), “cabal haddock” worked just fine on one of my libraries.
A. On Wednesday, 24 December 2014, Carter Schonwald <[email protected]> wrote: > or worse case, just cabal install haddock and that will work fine > On Wed, Dec 24, 2014 at 12:56 PM, Carter Schonwald < [email protected]> wrote: > > try rm ~/.cabal/bin/haddock > and then type which haddock and you should be getting the /usr/local/bin/haddock or whatever, then stuff should work fine > On Wed, Dec 24, 2014 at 11:40 AM, Alfredo Di Napoli < [email protected]> wrote: > > The installation succeedeed and GHC is working correctly. > But yes, "cabal haddock" seems to have some difficulty in the new version, but I can't judge if it's my sandboxed environment (we use "hub" at work) or the failure you mentioned. > > Calling "haddock" alone works (using the previously installed on my system), "cabal haddock" does not: > > ☁ mandrill [master] ⚡ haddock src/Network/API/Mandrill.hs > Haddock coverage: > Warning: main:Network.API.Mandrill: Could not find documentation for exported module: M > Warning: Couldn't find .haddock for export Control.Monad.IO.Class.liftIO > 88% ( 7 / 8) in 'Network.API.Mandrill' > Warning: Network.API.Mandrill: could not find link destinations for: > Control.Monad.IO.Class.MonadIO Network.API.Mandrill.Types.MandrillMessage Network.API.Mandrill.Trans.MandrillT Network.API.Mandrill.Types.MandrillResponse Network.API.Mandrill.Messages.Types.MessagesResponse Text.Email.Parser.EmailAddress Data.Text.Internal.Text Text.Blaze.Html.Html GHC.Types.IO > > ☁ mandrill [master] ⚡ cabal haddock > cabal-1.20.0.0: You need to re-run the 'configure' command. The version of > Cabal being used has changed (was Cabal-1.18.1.5, now Cabal-1.20.0.0). > cabal haddock: /usr/hs/tools/cabal-1.20.0.0 failure (return code=1) > > On Wednesday, 24 December 2014, Carter Schonwald < [email protected]> wrote: >> sure, please verify first. (also make sure haddock etc works for you, i had to remove a haddock binary from ~/.cabal/bin before haddocks were building correctly for me) >> On Wed, Dec 24, 2014 at 10:52 AM, Alfredo Di Napoli < [email protected]> wrote: >> >> Thanks Carter! >> >> I have just asked basically about it on Reddit, in the announce thread. >> I'll give it a spin, and if it works I will share the link (if you are ok with that!) on the >> same Reddit post. >> >> Alfredo >> >> On Tuesday, 23 December 2014, Carter Schonwald < [email protected]> wrote: >>> Heres a OS X build that should work with >= 10.7 >>> http://www.wellposed.com/opensource/ghc/releasebuild-unofficial/ghc-7.8.4-x86_64-apple-darwin.tar.bz2 >>> >>> and the sha 512 >>> shasum -a512 ghc-7.8.4-x86_64-apple-darwin.tar.bz2 >>> c6e76a2cd7ec7820d071ef1f417981845bb86c4c8337a57431136a375cbd0695fe810ec10963109ab1971d1a0ab80318c62d71b95eddb5657800cac296a260bd ghc-7.8.4-x86_64-apple-darwin.tar.bz2 >>> On Tue, Dec 23, 2014 at 8:12 AM, Austin Seipp <[email protected]> wrote: >>> >>> ============================================================== >>> The (Interactive) Glasgow Haskell Compiler -- version 7.8.4 >>> ============================================================== >>> >>> The GHC Team is pleased to announce a new patchlevel release of GHC, 7.8.4. >>> >>> This is an important bugfix release relative to 7.8.3 (with over 30 >>> defects fixed), so we highly recommend upgrading from the previous 7.8 >>> releases. >>> >>> The full release notes are here: >>> >>> https://downloads.haskell.org/~ghc/7.8.4/docs/html/users_gui
_______________________________________________ ghc-devs mailing list [email protected] http://www.haskell.org/mailman/listinfo/ghc-devs
