From eed820b672e6c3d23106cd151b1e31ce29326e32 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 16 May 2016 15:21:34 +0200 Subject: Move Extension type to ghc-boot-th This creates a new package, `ghc-boot-th`, to contain the `Extension` type, which now lives in `GHC.LanguageExtension.Type`. This ensures that the transitive dependency set of the `template-haskell` package remains minimal. The `GHC.LanguageExtensions.Type` module is also re-exported by `ghc-boot`, which provides an orphan `binary` instance as well. Test Plan: Validate Reviewers: goldfire, thomie, hvr, austin Reviewed By: thomie Subscribers: RyanGlScott, thomie, erikd, ezyang Differential Revision: https://phabricator.haskell.org/D2224 --- ghc.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ghc.mk') diff --git a/ghc.mk b/ghc.mk index a9f5b06735..a767e35cd3 100644 --- a/ghc.mk +++ b/ghc.mk @@ -430,7 +430,7 @@ else # CLEANING # programs such as GHC and ghc-pkg, that we do not assume the stage0 # compiler already has installed (or up-to-date enough). -PACKAGES_STAGE0 = binary Cabal/Cabal hpc ghc-boot hoopl transformers template-haskell +PACKAGES_STAGE0 = binary Cabal/Cabal hpc ghc-boot-th ghc-boot hoopl transformers template-haskell ifeq "$(Windows_Host)" "NO" ifneq "$(HostOS_CPP)" "ios" PACKAGES_STAGE0 += terminfo @@ -460,6 +460,7 @@ PACKAGES_STAGE1 += hpc PACKAGES_STAGE1 += pretty PACKAGES_STAGE1 += binary PACKAGES_STAGE1 += Cabal/Cabal +PACKAGES_STAGE1 += ghc-boot-th PACKAGES_STAGE1 += ghc-boot PACKAGES_STAGE1 += template-haskell PACKAGES_STAGE1 += hoopl -- cgit v1.2.1