Skip to content
Snippets Groups Projects
Commit 3a351fe9 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Get everything building with base 4 in the HEAD

Some things were using the base3 compat library.
parent 528ea301
No related branches found
No related tags found
No related merge requests found
...@@ -13,19 +13,29 @@ Category: Development ...@@ -13,19 +13,29 @@ Category: Development
build-type: Simple build-type: Simple
cabal-version: >=1.2 cabal-version: >=1.2
Flag base4
Description: Choose the even newer, even smaller, split-up base package.
Flag base3 Flag base3
Description: Choose the new smaller, split-up base package. Description: Choose the new smaller, split-up base package.
Executable hpc Executable hpc
Main-Is: Hpc.hs Main-Is: Hpc.hs
Other-Modules: HpcParser Other-Modules: HpcParser
if flag(base4)
Build-Depends: base >= 4 && < 5
if flag(base3) if flag(base3)
Build-Depends: base >= 3 && < 4, Build-Depends: base >= 3 && < 4
directory >= 1 && < 1.1, if !flag(base3) && !flag(base4)
Build-Depends: base < 3
if flag(base4)
Build-Depends: getopt >= 0.1 && < 0.2
if flag(base3) || flag(base4)
Build-Depends: directory >= 1 && < 1.1,
containers >= 0.1 && < 0.2, containers >= 0.1 && < 0.2,
array >= 0.1 && < 0.2 array >= 0.1 && < 0.2
else
Build-Depends: base < 3
Build-Depends: haskell98, hpc Build-Depends: haskell98, hpc
Extensions: CPP Extensions: CPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment