mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
gf.cabal, gf-server.cabal: add version bounds on network & httpd-shed
* httpd-shed-0.4 does not specify an upper bound on network, but it fails to build against network>=2.6. This is fixed in httpd-shed-0.4.0.2. * With network-2.6, the Network.URI modules is moved to a separate package, so for the time being GF requires network>=2.3 && <2.6. This is compatible with the four most recent versions of the Haskell Platform.
This commit is contained in:
2
gf.cabal
2
gf.cabal
@@ -154,7 +154,7 @@ Executable gf
|
|||||||
utf8-string
|
utf8-string
|
||||||
ghc-options: -threaded -fwarn-unused-imports
|
ghc-options: -threaded -fwarn-unused-imports
|
||||||
if flag(server)
|
if flag(server)
|
||||||
build-depends: httpd-shed, network, json, cgi
|
build-depends: httpd-shed>=0.4.0.2, network>=2.3 && <2.6, json, cgi
|
||||||
-- ,silently
|
-- ,silently
|
||||||
cpp-options: -DSERVER_MODE
|
cpp-options: -DSERVER_MODE
|
||||||
other-modules: GFServer
|
other-modules: GFServer
|
||||||
|
|||||||
@@ -36,9 +36,9 @@ Library
|
|||||||
process,
|
process,
|
||||||
gf >= 3.6,
|
gf >= 3.6,
|
||||||
cgi >= 3001.1.7.3,
|
cgi >= 3001.1.7.3,
|
||||||
httpd-shed,
|
httpd-shed>=0.4.0.2,
|
||||||
mtl,
|
mtl,
|
||||||
network,
|
network>=2.3 && <2.6,
|
||||||
json >= 0.3.3,
|
json >= 0.3.3,
|
||||||
utf8-string >= 0.3.1.1,
|
utf8-string >= 0.3.1.1,
|
||||||
bytestring,
|
bytestring,
|
||||||
|
|||||||
Reference in New Issue
Block a user