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 /compiler/ghc.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 'compiler/ghc.cabal.in')
-rw-r--r-- | compiler/ghc.cabal.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 1b160aced7..9dc7826e25 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -18,7 +18,7 @@ Description: through this package. Category: Development Build-Type: Simple -Cabal-Version: >= 1.2.3 +Cabal-Version: >=1.10 Flag ghci Description: Build GHCi support. @@ -41,6 +41,7 @@ Flag stage3 Manual: True Library + Default-Language: Haskell2010 Exposed: False Build-Depends: base >= 4 && < 5, @@ -73,13 +74,10 @@ Library Build-Depends: bin-package-db Build-Depends: hoopl - Extensions: CPP, MagicHash, UnboxedTuples, PatternGuards, - ForeignFunctionInterface, EmptyDataDecls, + Default-Extensions: CPP, MagicHash, UnboxedTuples TypeSynonymInstances, MultiParamTypeClasses, FlexibleInstances, RankNTypes, ScopedTypeVariables, - DeriveDataTypeable, BangPatterns - if impl(ghc >= 7.1) - Extensions: NondecreasingIndentation + DeriveDataTypeable, BangPatterns, NondecreasingIndentation Include-Dirs: . parser utils |