Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tweaked build-depends to help 'cabal install'.

cabal install thinks it has to install an older version of network unless the
network lower bound is raised.  So we raise it for ghc 7.0.3, so that
the version of network packaged with it in the Haskell platform is used.
This is a kludge; cabal install should be smarter, but we can work
around it.
  • Loading branch information...
commit bd98082428b9e2588ca674f143259acaa766d2aa 1 parent 781482b
@jgm jgm authored
Showing with 7 additions and 2 deletions.
  1. +7 −2 gitit.cabal
View
9 gitit.cabal
@@ -128,10 +128,11 @@ Executable gitit
highlighting-kate >= 0.2.7.1,
bytestring,
random,
+ network >= 2.1.0.0 && < 2.4,
utf8-string >= 0.3 && < 0.4,
- SHA > 1 && < 1.6, HTTP >= 4000.0 && < 4000.2,
+ SHA > 1 && < 1.6,
+ HTTP >= 4000.0 && < 4000.2,
HStringTemplate >= 0.6 && < 0.7,
- network >= 2.1.0.0 && < 2.4,
old-locale >= 1,
time >= 1.1 && < 1.3,
recaptcha >= 0.1,
@@ -148,6 +149,10 @@ Executable gitit
json >= 0.4 && < 0.5
if impl(ghc >= 6.10)
build-depends: base >= 4, syb
+ if impl(ghc >= 7.0.3)
+ -- without this, 'cabal install' tries to install an older
+ -- version of network; I'm not sure why:
+ build-depends: network >= 2.3 && < 2.4
if flag(plugins)
build-depends: ghc, ghc-paths
cpp-options: -D_PLUGINS
Please sign in to comment.
Something went wrong with that request. Please try again.