[Git][ghc/ghc][wip/T25705-1] template-haskell: fix haddocks

Teo Camarasu (@teo) gitlab at gitlab.haskell.org
Wed Mar 5 22:20:29 UTC 2025



Teo Camarasu pushed to branch wip/T25705-1 at Glasgow Haskell Compiler / GHC


Commits:
57c25aca by Teo Camarasu at 2025-03-05T22:19:12+00:00
template-haskell: fix haddocks

It seems that we need a direct dependency on ghc-internal, otherwise
Haddock cannot find our haddocks

Resolves #25705

- - - - -


1 changed file:

- libraries/template-haskell/template-haskell.cabal.in


Changes:

=====================================
libraries/template-haskell/template-haskell.cabal.in
=====================================
@@ -53,6 +53,10 @@ Library
 
     build-depends:
         base        >= 4.11 && < 4.22,
+        -- We don't directly depend on any of the modules from `ghc-internal`
+        -- But we need to depend on it to work around a Haddock bug.
+        -- See: https://gitlab.haskell.org/ghc/ghc/-/issues/25705
+        ghc-internal == @ProjectVersionForLib at .*,
         ghc-boot-th == @ProjectVersionMunged@
 
     other-modules:



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/57c25aca5f5371d5ff05a67d113e814c27b551f3

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/57c25aca5f5371d5ff05a67d113e814c27b551f3
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20250305/50705fc0/attachment.html>


More information about the ghc-commits mailing list