summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2017-07-28 07:42:42 -0400
committerjoe <joe@jerkface.net>2017-07-28 07:42:42 -0400
commita45e8e17e4609ffb249f9a666bde8206204738eb (patch)
tree30ed98bad9f79780f0da3aa933954f60ad576c97
parent025364434a3a57260e8149df4a532c14332aacfe (diff)
Build tweeks.
-rw-r--r--bittorrent.cabal9
-rw-r--r--examples/dht.hs1
2 files changed, 8 insertions, 2 deletions
diff --git a/bittorrent.cabal b/bittorrent.cabal
index 6643dc08..4af89b97 100644
--- a/bittorrent.cabal
+++ b/bittorrent.cabal
@@ -97,8 +97,6 @@ library
97 , containers 97 , containers
98 , array 98 , array
99 , hashable 99 , hashable
100 , network
101 , network-uri
102 , iproute 100 , iproute
103 , stm 101 , stm
104 , base16-bytestring 102 , base16-bytestring
@@ -133,6 +131,13 @@ library
133 , transformers-base 131 , transformers-base
134 , mtl 132 , mtl
135 133
134 if flag(network-uri)
135 Build-depends: network >= 2.6
136 , network-uri >= 2.6
137 else
138 Build-depends: network >= 2.4 && < 2.6
139
140
136 other-modules: Paths_bittorrent 141 other-modules: Paths_bittorrent
137 Crypto.Cipher.Salsa 142 Crypto.Cipher.Salsa
138 Crypto.Cipher.XSalsa 143 Crypto.Cipher.XSalsa
diff --git a/examples/dht.hs b/examples/dht.hs
index 16b12678..534a319b 100644
--- a/examples/dht.hs
+++ b/examples/dht.hs
@@ -1,4 +1,5 @@
1{-# LANGUAGE NondecreasingIndentation #-} 1{-# LANGUAGE NondecreasingIndentation #-}
2import Control.Applicative
2import Control.Monad 3import Control.Monad
3import Data.Function 4import Data.Function
4import Control.Monad.IO.Class 5import Control.Monad.IO.Class