diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-05-14 09:24:10 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-05-14 10:21:35 +0200 |
commit | dd92e2179e3171a0630834b773c08d416101980d (patch) | |
tree | eb79866a2c3474bd1b91c6110f7e5c56f8db6bbf /ghc/ghc-bin.cabal.in | |
parent | 0148a1c416e42a7d7c9ff3624a0640963bfe0012 (diff) | |
download | haskell-dd92e2179e3171a0630834b773c08d416101980d.tar.gz |
Set cabal files to default-language:Haskell2010
This is a first step towards eliminating `default-extensions` in favour of
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.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ghc/ghc-bin.cabal.in b/ghc/ghc-bin.cabal.in index 68338f37f7..5b40e259d2 100644 --- a/ghc/ghc-bin.cabal.in +++ b/ghc/ghc-bin.cabal.in @@ -16,7 +16,7 @@ Category: XXX Data-Dir: .. Data-Files: settings Build-Type: Simple -Cabal-Version: >= 1.2 +Cabal-Version: >=1.10 Flag ghci Description: Build GHCi support. @@ -24,6 +24,8 @@ Flag ghci Manual: True Executable ghc + Default-Language: Haskell2010 + Main-Is: Main.hs Build-Depends: base >= 3 && < 5, array >= 0.1 && < 0.6, @@ -45,10 +47,9 @@ Executable ghc GHC-Options: -fno-warn-name-shadowing Other-Modules: InteractiveUI, GhciMonad, GhciTags Build-Depends: transformers, haskeline - Extensions: ForeignFunctionInterface, - UnboxedTuples, + Default-Extensions: UnboxedTuples, FlexibleInstances, TupleSections, MagicHash - Extensions: CPP, PatternGuards, NondecreasingIndentation + Default-Extensions: CPP, NondecreasingIndentation |