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