[Git][ghc/ghc][wip/T25262] fixup! Add template-haskell-lift and template-haskell-quasiquoter

Teo Camarasu (@teo) gitlab at gitlab.haskell.org
Tue Dec 17 14:22:12 UTC 2024



Teo Camarasu pushed to branch wip/T25262 at Glasgow Haskell Compiler / GHC


Commits:
5caf1dd6 by Teo Camarasu at 2024-12-17T14:22:01+00:00
fixup! Add template-haskell-lift and template-haskell-quasiquoter

- - - - -


2 changed files:

- hadrian/src/Settings/Default.hs
- libraries/template-haskell-quasiquoter/template-haskell-quasiquoter.cabal


Changes:

=====================================
hadrian/src/Settings/Default.hs
=====================================
@@ -107,6 +107,7 @@ stage0Packages = do
              , semaphoreCompat -- depends on
              , time -- depends on win32
              , thLift -- new library not yet present for boot compilers
+             , thQuasiquoter -- new library not yet present for boot compilers
              , unlit
              , if windowsHost then win32 else unix
              -- We must use the in-tree `Win32` as the version
@@ -167,7 +168,6 @@ stage1Packages = do
         , semaphoreCompat
         , stm
         , templateHaskell
-        , thQuasiquoter
         , text
         , transformers
         , unlit


=====================================
libraries/template-haskell-quasiquoter/template-haskell-quasiquoter.cabal
=====================================
@@ -18,6 +18,10 @@ common warnings
 library
     import:           warnings
     exposed-modules:  TemplateHaskell.Quasiquoter
-    build-depends:    base, ghc-internal
+    build-depends:    base
+    if impl(ghc>=9.12)
+      build-depends: ghc-internal
+    else
+      build-depends: template-haskell
     hs-source-dirs:   src
     default-language: GHC2021



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5caf1dd6af76fb9b99a15c873cc9df88408060a1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5caf1dd6af76fb9b99a15c873cc9df88408060a1
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/20241217/1f7dbb45/attachment-0001.html>


More information about the ghc-commits mailing list