summaryrefslogtreecommitdiff
path: root/utils/hpc
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 09:24:10 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 10:21:35 +0200
commitdd92e2179e3171a0630834b773c08d416101980d (patch)
treeeb79866a2c3474bd1b91c6110f7e5c56f8db6bbf /utils/hpc
parent0148a1c416e42a7d7c9ff3624a0640963bfe0012 (diff)
downloadhaskell-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 'utils/hpc')
-rw-r--r--utils/hpc/hpc-bin.cabal5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/hpc/hpc-bin.cabal b/utils/hpc/hpc-bin.cabal
index 4f94ab0fa0..6d15e8b067 100644
--- a/utils/hpc/hpc-bin.cabal
+++ b/utils/hpc/hpc-bin.cabal
@@ -11,7 +11,7 @@ Description:
XXX
Category: Development
build-type: Simple
-cabal-version: >=1.2
+cabal-version: >=1.10
Flag base4
Description: Choose the even newer, even smaller, split-up base package.
@@ -20,6 +20,7 @@ Flag base3
Description: Choose the new smaller, split-up base package.
Executable hpc
+ Default-Language: Haskell2010
Main-Is: Hpc.hs
Other-Modules: HpcParser
HpcCombine
@@ -45,5 +46,5 @@ Executable hpc
containers >= 0.1 && < 0.6,
array >= 0.1 && < 0.6
Build-Depends: hpc
- Extensions: CPP
+ Default-Extensions: CPP