summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhallgren <hallgren@chalmers.se>2015-02-25 18:41:57 +0000
committerhallgren <hallgren@chalmers.se>2015-02-25 18:41:57 +0000
commitd3f6b9851f696b0b5f476f8e70f8c9797825df11 (patch)
treee5c281a369ddd74dccf1dbc7319e832eeb40ae26
parent9c6b5df74175016846a9a0557c5eecd96247e4c6 (diff)
gf.cabal: adjust version constrains on the network, cgi and httpd-shed packages
-rw-r--r--gf.cabal12
1 files changed, 8 insertions, 4 deletions
diff --git a/gf.cabal b/gf.cabal
index 7b6ee0435..c2fde9587 100644
--- a/gf.cabal
+++ b/gf.cabal
@@ -53,6 +53,9 @@ flag interrupt
flag server
Description: Include --server mode
Default: True
+flag network-uri
+ description: Get Network.URI from the network-uri package
+ default: True
--flag new-comp
-- Description: Make -new-comp the default
@@ -263,11 +266,12 @@ Library
cpp-options: -DC_RUNTIME
if flag(server)
- build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json
- if impl(ghc>=7.8)
- build-depends: cgi>=3001.2.2.0
+ build-depends: httpd-shed>=0.4.0.3, network>=2.3 && <2.7, json,
+ cgi>=3001.2.2.0
+ if flag(network-uri)
+ build-depends: network-uri>=2.6, network>=2.6
else
- build-depends: cgi
+ build-depends: network<2.6
cpp-options: -DSERVER_MODE
other-modules: