diff --git a/cabal.project b/cabal.project
index 47ac81c3d..75d0275d5 100644
--- a/cabal.project
+++ b/cabal.project
@@ -19,11 +19,6 @@ source-repository-package
   location: https://github.com/jgm/citeproc.git
   tag: 363a810024b93aa9230eee4fe27b557b39176bcb
 
-source-repository-package
-  type: git
-  location: https://github.com/jgm/pandoc-types.git
-  tag: b084b2af7151d2d9ae84b7f558f2a77c5103cdd7
-
 source-repository-package
   type: git
   location: https://github.com/jgm/commonmark-hs.git
diff --git a/stack.yaml b/stack.yaml
index 26c93a744..f73cebefd 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -34,6 +34,7 @@ extra-deps:
 - unicode-data-0.3.0
 - commonmark-pandoc-0.2.1.2
 - ipynb-0.2
+- pandoc-types-1.22.2
 - git: https://github.com/jgm/citeproc.git
   commit: 363a810024b93aa9230eee4fe27b557b39176bcb
 - git: https://github.com/jgm/doclayout.git
@@ -43,8 +44,6 @@ extra-deps:
   subdirs: [commonmark, commonmark-extensions]
 - git: https://github.com/jgm/texmath.git
   commit: 506e9433db94246371c1b66f95cf1e3ccab24232
-- git: https://github.com/jgm/pandoc-types.git
-  commit: b084b2af7151d2d9ae84b7f558f2a77c5103cdd7
 ghc-options:
    "$locals": -fhide-source-paths -Wno-missing-home-modules
 resolver: lts-18.10