summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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: