From: Ramakrishnan Muthukrishnan Date: Tue, 17 Feb 2015 00:58:28 +0000 (+0530) Subject: Use stackage X-Git-Url: https://git.rkrishnan.org/vdrive/%22file:/webapi.txt?a=commitdiff_plain;h=443358f2b0e6c0a4e1b33d30becc6b4eee2b90b5;p=functorrent.git Use stackage --- diff --git a/README b/README index 7d9b629..928e7db 100644 --- a/README +++ b/README @@ -7,9 +7,12 @@ I suggest using cabal sandbox. Steps: +clone the repo; cd functorrent; + 1. cabal sandbox init -2. cabal install --only-dependencies -3. cabal build # binaries in ./dist/built/functorrent/* +2. wget http://www.stackage.org/lts/cabal.config +3. cabal install --only-dependencies +4. cabal build # binaries in ./dist/built/functorrent/* Goals ----- diff --git a/functorrent.cabal b/functorrent.cabal index 7f40513..77df828 100644 --- a/functorrent.cabal +++ b/functorrent.cabal @@ -19,14 +19,14 @@ executable functorrent main-is: Main.hs -- other-modules: -- other-extensions: - build-depends: base >=4.6 && <4.8, - parsec ==3.1.*, - containers ==0.5.*, - time ==1.4.2, + build-depends: base, + parsec, + containers, + time, bytestring, base16-bytestring, doctest, - HTTP >=4000.2.1, + HTTP, cryptohash hs-source-dirs: src ghc-options: -Wall -fwarn-incomplete-patterns