summaryrefslogtreecommitdiff
path: root/ghc/ghc-bin.cabal.in
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 12:41:21 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-05-15 10:18:02 +0200
commit2dd80f6913d05e0b170e4ab39d3fbf6fb6a8bf2f (patch)
treed37df7fb90e9a5596884304246fcbba450db1e8e /ghc/ghc-bin.cabal.in
parentd4aa4e4244bb4b2b902941bf2cbea864abd74ea5 (diff)
downloadhaskell-2dd80f6913d05e0b170e4ab39d3fbf6fb6a8bf2f.tar.gz
Convert `ghc-bin.cabal` to use others-extensions
This replaces the previous `default-extensions` by per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'ghc/ghc-bin.cabal.in')
-rw-r--r--ghc/ghc-bin.cabal.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in
index 5b40e259d2..dcbc695675 100644
--- a/ghc/ghc-bin.cabal.in
+++ b/ghc/ghc-bin.cabal.in
@@ -45,11 +45,17 @@ Executable ghc
if flag(ghci)
CPP-Options: -DGHCI
GHC-Options: -fno-warn-name-shadowing
- Other-Modules: InteractiveUI, GhciMonad, GhciTags
+ Other-Modules:
+ InteractiveUI
+ GhciMonad
+ GhciTags
Build-Depends: transformers, haskeline
- Default-Extensions: UnboxedTuples,
- FlexibleInstances,
- TupleSections,
- MagicHash
+ Other-Extensions:
+ FlexibleInstances
+ MagicHash
+ TupleSections
+ UnboxedTuples
- Default-Extensions: CPP, NondecreasingIndentation
+ Other-Extensions:
+ CPP
+ NondecreasingIndentation