diff options
author | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
---|---|---|
committer | Kavon Farvardin <kavon@farvard.in> | 2018-09-23 15:29:37 -0500 |
commit | 84c2ad99582391005b5e873198b15e9e9eb4f78d (patch) | |
tree | caa8c2f2ec7e97fbb4977263c6817c9af5025cf4 /libraries/template-haskell/template-haskell.cabal | |
parent | 8ddb47cfcf5776e9a3c55fd37947c8a95e00fa12 (diff) | |
parent | e68b439fe5de61b9a2ca51af472185c62ccb8b46 (diff) | |
download | haskell-wip/T13904.tar.gz |
update to current master againwip/T13904
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal')
-rw-r--r-- | libraries/template-haskell/template-haskell.cabal | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal index dfb3b079b3..2b2c5db463 100644 --- a/libraries/template-haskell/template-haskell.cabal +++ b/libraries/template-haskell/template-haskell.cabal @@ -1,5 +1,5 @@ name: template-haskell -version: 2.12.0.0 +version: 2.14.0.0 -- NOTE: Don't forget to update ./changelog.md license: BSD3 license-file: LICENSE @@ -45,22 +45,23 @@ Library Language.Haskell.TH.Syntax Language.Haskell.TH.LanguageExtensions + Language.Haskell.TH.Lib.Internal + other-modules: Language.Haskell.TH.Lib.Map build-depends: - base >= 4.8 && < 4.11, - ghc-boot-th == 8.3, + base >= 4.9 && < 4.13, + ghc-boot-th == 8.7.*, pretty == 1.1.* + ghc-options: -Wall + -- We need to set the unit ID to template-haskell (without a -- version number) as it's magic. - ghc-options: -Wall + ghc-options: -this-unit-id template-haskell - if impl( ghc >= 7.11 ) - ghc-options: -this-unit-id template-haskell - else - if impl( ghc >= 7.9 ) - ghc-options: -this-package-key template-haskell - else - ghc-options: -package-name template-haskell + -- This should match the default-extensions used in 'ghc.cabal'. This way, + -- GHCi can be used to load it along with the compiler. + Default-Extensions: + NoImplicitPrelude |