ivan-m / haskell-docs

Get the Haskell documentation of a name from a module
BSD 3-Clause "New" or "Revised" License
32 stars 8 forks source link

Support for Haddock 2.15 #14

Closed peti closed 8 years ago

peti commented 10 years ago

We've updated to Haddock 2.15 in NixOS, but unfortunately that change breaks the build of this package. Could you maybe extend the Cabal file to support the latest version?

chrisdone commented 10 years ago

Does it work if you change this

if impl(ghc==7.8.*)
  build-depends: haddock==2.14.*

to

if impl(ghc==7.8.*)
  build-depends: haddock-api==2.15.*

I think the only change from 2.14 → 2.15 was separating the library from the executable, so I expect 2.15 to build.

cjmazey commented 9 years ago

I have the same issue. . .the above doesn't work.

Rudybega commented 9 years ago

I have a similar issue. When I tried changing the code as recommended I get an error that says

"InstallPlan: internal error: configured package depends on a non-library package"

After cabal says it has installed Haddock. When I then check the info for haddock, it says

Versions installed: [ Unknown ]

I assume these have something to do with one another, but I'm not that familiar with Cabal.

ivan-m commented 9 years ago

I think this can be closed.

evanmeng commented 9 years ago

This shouldn't be closed since such error still occurs with newest GHC, Cabal and Haddock.

ivan-m commented 9 years ago

Except @chrisdone already accepted my pull request to add such support in.

Though he still has to release it on Hackage...

mazen-mardini commented 9 years ago

I'm having the same problem. I'd also like to see the fix being added to Hackage.

ivan-m commented 8 years ago

@chrisdone Is this closed by #29?

ivan-m commented 8 years ago

I believe this is done.