From 37e30560ad546055d17f56df468cd35976b3218a Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Thu, 9 Sep 2021 23:27:58 -0700
Subject: [PATCH] Use dev version of citeproc.

---
 cabal.project | 5 +++++
 stack.yaml    | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/cabal.project b/cabal.project
index 26373c616..55026979e 100644
--- a/cabal.project
+++ b/cabal.project
@@ -2,3 +2,8 @@ packages: pandoc.cabal
 tests: True
 flags: +embed_data_files
 
+source-repository-package
+  type: git
+  location: https://github.com/jgm/citeproc.git
+  tag: 59e98e8d1e13ddb53bef9f90adbd1c64652f0173
+
diff --git a/stack.yaml b/stack.yaml
index a8df254d7..9b73f2bd1 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -13,7 +13,8 @@ extra-deps:
 - skylighting-0.11
 - doctemplates-0.10
 - texmath-0.12.3.1
-- citeproc-0.5
+- git: https://github.com/jgm/citeproc.git
+  commit: 59e98e8d1e13ddb53bef9f90adbd1c64652f0173
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-18.0