]> git.rkrishnan.org Git - functorrent.git/commitdiff
Use stackage
authorRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 17 Feb 2015 00:58:28 +0000 (06:28 +0530)
committerRamakrishnan Muthukrishnan <ram@rkrishnan.org>
Tue, 17 Feb 2015 00:58:28 +0000 (06:28 +0530)
README
functorrent.cabal

diff --git a/README b/README
index 7d9b629b47b5f51419ac25fc2d6036d92253a7b1..928e7db093b6f100967c54c4c1128d45d28a2199 100644 (file)
--- 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
 -----
index 7f405133e37940cb9ba529176387c4d8285cb963..77df828a6c52c23387785ed1006a6673f114ccb5 100644 (file)
@@ -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