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

GHC ghc-devs at haskell.org
Mon Dec 11 11:29:46 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
           Keywords:                    |  Operating System:  Linux
       Architecture:  Unknown/Multiple  |   Type of failure:  Other
          Test Case:                    |        Blocked By:
           Blocking:                    |   Related Tickets:
Differential Rev(s):                    |         Wiki Page:
----------------------------------------+---------------------------
 Following a conversation on another bug tracker:
 https://github.com/bos/math-functions/issues/52

 it looks like template-haskell is very dependent on the version of GHC
 being used (although the test matrix is all green at present). In the
 above case we're trying to use template-haskell 2.12.0.0 with GHC 8.0.2 to
 build another package and that fails.

 One of the problems is that on Fedora template-haskell is shipped
 separately from GHC while on Debian or with source installations it comes
 bundled with GHC.


 Is it possible to specify a requirement on the GHC version inside .cabal
 files? This will make it easier to track down why something isn't able to
 compile.

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


More information about the ghc-tickets mailing list