[GHC] #14571: RFE: Make template-haskell cabal package require a specific version of GHC

GHC ghc-devs at haskell.org
Mon Dec 11 11:55:52 UTC 2017


#14571: RFE: Make template-haskell cabal package require a specific version of GHC
-------------------------------------+-------------------------------------
        Reporter:  atodorov          |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.2
      Resolution:                    |             Keywords:
Operating System:  Linux             |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hvr):

 Here's some more backstory:

  - https://github.com/haskell/cabal/pull/4185

  - https://github.com/haskell/cabal/issues/4098

 Long story short, if use a recent enough `cabal-install` this shouldn't be
 a problem.

 More generally, one long-standing idea was to have either `ghc` or `ghc-
 pkg` expose the information of whether a package is reinstallable
 dynamically to cabal, but in the past that would have been merely an
 aesthetical improvement, as Cabal has to encode special knowledge about
 GHC anyway. Also, the small set of non-reinstallable packages has been
 very stable over the years; so there was little incentive to do anything
 about this.

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


More information about the ghc-tickets mailing list