[GHC] #12052: Split ghc-boot so we have better dependency hygiene

GHC ghc-devs at haskell.org
Thu May 12 19:42:21 UTC 2016


#12052: Split ghc-boot so we have better dependency hygiene
-------------------------------------+-------------------------------------
           Reporter:  ezyang         |             Owner:
               Type:  bug            |            Status:  new
           Priority:  high           |         Milestone:  8.0.2
          Component:  Core           |           Version:  8.0.1
  Libraries                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 At the moment, `template-haskell` transitively depends on `bytestring`.
 This means that any package which depends on `template-haskell` has its
 `bytestring` version pinned to the version that was shipped with GHC.
 Which is lame, because `template-haskell` doesn't actually use
 `bytestring` in any interesting way.

 This is bad, we should split `ghc-boot` into two pieces, one which has the
 binary package database bits, and another which contains the Template
 Haskell bits, so we can have better dependency hygiene.

 We should also have a comment on `template-haskell` mentioning the
 importance of dependency hygiene, so this doesn't happen again.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12052>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list