From c9bee4210639ed0fe999d73872e28d3f4b8b03ec Mon Sep 17 00:00:00 2001
From: Hans-Peter Deifel <hpd@hpdeifel.de>
Date: Mon, 30 Jan 2017 09:01:54 +0100
Subject: [PATCH] Add stack.yaml, update README accordingly

Building proved to be more difficult than it should be, hopefully
stack's reproducible builds will finally be reproducibly successful...
---
 README.md  | 5 ++++-
 stack.yaml | 7 +++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 stack.yaml

diff --git a/README.md b/README.md
index 309e2a1..e178473 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,11 @@
 
 Can either be done with [stack][1] or [cabal][2], the easier of which is stack:
 
-    stack init
     stack build
+    
+That may ask you to install a compiler. You can either let stack
+install it locally via `stack setup` or use a globally installed one
+with `stack build --system-ghc`.
 
 Optionally, tests can be executed with:
 
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
index 0000000..7fa0d19
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,7 @@
+flags: {}
+extra-package-dbs: []
+packages:
+- '.'
+extra-deps:
+- aeson-1.0.2.1
+resolver: lts-7.13
-- 
GitLab