summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-15 15:19:03 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-15 15:19:03 -0400
commit2cea48cb7ccaeb4a4f8125f6d2c5e1fd195c0d8d (patch)
tree6600549a396f09c86a0879f5e5a15875d9624bc4
parentecc967a33fbd4724f5782f6d6b858b3df103b134 (diff)
downloadkeysafe-2cea48cb7ccaeb4a4f8125f6d2c5e1fd195c0d8d.tar.gz
build with stack
-rw-r--r--INSTALL7
-rw-r--r--stack.yaml9
2 files changed, 12 insertions, 4 deletions
diff --git a/INSTALL b/INSTALL
index 81ba7d2..6707ab3 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,9 +1,8 @@
-You should first install ghc, cabal, the readline and argon2 libraries,
+You should first install stack, the readline and argon2 libraries,
and zenity. For example, on a Debian system:
- sudo apt-get install ghc cabal-install libreadline-dev \
- libargon2-0-dev zenity
+ sudo apt-get install haskell-stack libreadline-dev libargon2-0-dev zenity
Then to build and install keysafe:
- cabal install keysafe
+ stack install keysafe
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
index 0000000..45c9644
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,9 @@
+packages:
+- '.'
+resolver: lts-5.18
+extra-deps:
+ - dice-entropy-conduit-1.0.0.1
+ - finite-field-0.8.0
+ - polynomial-0.7.2
+ - raaz-0.0.2
+explicit-setup-deps: