From 01f39c5991b67cf7dca651a7e49b3d2f6be10d83 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 6 Sep 2018 23:08:48 -0700
Subject: [PATCH] stack.yaml tweaks.

Use a patched version of foundation until
https://github.com/haskell-foundation/foundation/pull/503
is fixed.

Use latest pandoc-citeproc.
---
 stack.yaml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/stack.yaml b/stack.yaml
index 9b6485f1b..ba6ffd7c5 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -10,12 +10,19 @@ flags:
     debug: false
 packages:
 - '.'
+# See https://github.com/haskell-foundation/foundation/pull/503
+# We can go back to released foundation when this is fixed.
+- location:
+    git: https://github.com/jgm/foundation
+    commit: '4294e39'
+  subdirs:
+  - foundation
+  extra-dep: true
 extra-deps:
 - github: jgm/pandoc-citeproc
-  commit: 1037917087b2ca58c6d6424eaba62eb135858fc0
+  commit: 596872a5a5dec15f4c8848cf87dd72e0ef2f160d
 - haddock-library-1.6.0
 - HsYAML-0.1.1.1
-- network-2.7.0.2
 - yaml-0.9.0
 ghc-options:
    "$locals": -fhide-source-paths -XNoImplicitPrelude