From 2c15b1fcac650054430d11a69f652a47f65c186a Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Mon, 12 Oct 2015 14:28:11 -0700
Subject: [PATCH] Added ghc-prim to build-depends.

This is needed for the Generic instance of PandocError.

Closes #2448.
---
 pandoc.cabal | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pandoc.cabal b/pandoc.cabal
index 114ac5227..7f55d1650 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -281,7 +281,8 @@ Library
                  deepseq-generics >= 0.1 && < 0.2,
                  JuicyPixels >= 3.1.6.1 && < 3.3,
                  filemanip >= 0.3 && < 0.4,
-                 cmark >= 0.4.0.1 && < 0.5
+                 cmark >= 0.4.0.1 && < 0.5,
+                 ghc-prim >= 0.2
   if flag(old-locale)
      Build-Depends: old-locale >= 1 && < 1.1,
                     time >= 1.2 && < 1.5