Remove now redundant cabal conditionals in {ghc,template-haskell}.cabal
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 9 Sep 2017 10:15:00 +0000 (12:15 +0200)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 9 Sep 2017 10:15:00 +0000 (12:15 +0200)
commit122f183d47fe46a54d2964111ce269939706b0f8
treeaffd7345b82b7876792ba33e34fa3ac104ffc09b
parentcf6b4d1c603c0e81eeae8d4e4d8025e84ca5d63b
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
compiler/ghc.cabal.in
libraries/template-haskell/template-haskell.cabal