diff options
Diffstat (limited to 'libraries/template-haskell/template-haskell.cabal')
-rw-r--r-- | libraries/template-haskell/template-haskell.cabal | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/template-haskell/template-haskell.cabal b/libraries/template-haskell/template-haskell.cabal index aae8afee59..b96e122610 100644 --- a/libraries/template-haskell/template-haskell.cabal +++ b/libraries/template-haskell/template-haskell.cabal @@ -55,7 +55,10 @@ Library -- version number) as it's magic. ghc-options: -Wall - if impl( ghc >= 7.9 ) - ghc-options: -this-package-key template-haskell + if impl( ghc >= 7.11 ) + ghc-options: -this-unit-id template-haskell else - ghc-options: -package-name template-haskell + if impl( ghc >= 7.9 ) + ghc-options: -this-package-key template-haskell + else + ghc-options: -package-name template-haskell |