diff options
Diffstat (limited to 'git-repair.cabal')
-rw-r--r-- | git-repair.cabal | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/git-repair.cabal b/git-repair.cabal index 67573f4..0696576 100644 --- a/git-repair.cabal +++ b/git-repair.cabal @@ -22,14 +22,23 @@ Description: using git-repair can help rescue commits you've made to the damaged repository and not yet pushed out. +Flag network-uri + Description: Get Network.URI from the network-uri package + Default: True + Executable git-repair Main-Is: git-repair.hs GHC-Options: -Wall -threaded Build-Depends: MissingH, hslogger, directory, filepath, containers, mtl, - network, unix-compat, bytestring, exceptions (>= 0.6), transformers, + unix-compat, bytestring, exceptions (>= 0.6), transformers, base >= 4.5, base < 5, IfElse, text, process, time, QuickCheck, utf8-string, async, optparse-applicative (>= 0.10.0) + if flag(network-uri) + Build-Depends: network-uri (>= 2.6), network (>= 2.6) + else + Build-Depends: network (< 2.6), network (>= 2.0) + if (os(windows)) Build-Depends: setenv else |