From 443358f2b0e6c0a4e1b33d30becc6b4eee2b90b5 Mon Sep 17 00:00:00 2001
From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Tue, 17 Feb 2015 06:28:28 +0530
Subject: [PATCH] Use stackage

---
 README            |  7 +++++--
 functorrent.cabal | 10 +++++-----
 2 files changed, 10 insertions(+), 7 deletions(-)

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
-- 
2.45.2