summaryrefslogtreecommitdiff
path: root/libraries/template-haskell
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 12:15:00 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2017-09-09 12:15:00 +0200
commit122f183d47fe46a54d2964111ce269939706b0f8 (patch)
treeaffd7345b82b7876792ba33e34fa3ac104ffc09b /libraries/template-haskell
parentcf6b4d1c603c0e81eeae8d4e4d8025e84ca5d63b (diff)
downloadhaskell-122f183d47fe46a54d2964111ce269939706b0f8.tar.gz
Remove now redundant cabal conditionals in {ghc,template-haskell}.cabal
In the past we needed the construct below for wired-in packages, but since GHC 8.0 (which we require at least for stage0 now) the CLI has stabilised, so we can unconditionally use `-this-unit-id` since GHC 8.0. 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
Diffstat (limited to 'libraries/template-haskell')
-rw-r--r--libraries/template-haskell/template-haskell.cabal14
1 files changed, 4 insertions, 10 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal
index fcfa448b91..1f01a1579d 100644
--- a/libraries/template-haskell/template-haskell.cabal
+++ b/libraries/template-haskell/template-haskell.cabal
@@ -51,18 +51,12 @@ Library
Language.Haskell.TH.Lib.Map
build-depends:
- base >= 4.8 && < 4.11,
+ base >= 4.9 && < 4.11,
ghc-boot-th == 8.3,
pretty == 1.1.*
- -- We need to set the unit ID to template-haskell (without a
- -- version number) as it's magic.
ghc-options: -Wall
- 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
+ -- We need to set the unit ID to template-haskell (without a
+ -- version number) as it's magic.
+ ghc-options: -this-unit-id template-haskell