summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-10-14 10:05:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-10-14 10:06:18 -0700
commit6dc3b6585d028dea4df3684ed975ccd2f7046e62 (patch)
tree3d50550898a0c6bc753e0754df42a90858d84424 /pandoc.cabal
parent1aff1b84ebb4ab863d9dda3ff740f7f94bbd362a (diff)
More changes to avoid compiler warnings on ghc 7.10.
* CPP around deprecated `parseTime`. * Text.Pandoc.Compat.Locale -> Text.Pandoc.Compat.Time, now exports Data.Time.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal6
1 files changed, 5 insertions, 1 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 2925296f3..a4ffeb04a 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -393,7 +393,7 @@ Library
Text.Pandoc.ImageSize,
Text.Pandoc.Slides,
Text.Pandoc.Highlighting,
- Text.Pandoc.Compat.Locale,
+ Text.Pandoc.Compat.Time,
Text.Pandoc.Compat.Except,
Text.Pandoc.Compat.TagSoupEntity,
Text.Pandoc.Compat.Directory
@@ -432,6 +432,7 @@ Executable pandoc
Hs-Source-Dirs: ., prelude
Main-Is: pandoc.hs
Buildable: True
+ Other-Modules: Prelude
Executable trypandoc
Main-Is: trypandoc.hs
@@ -443,6 +444,7 @@ Executable trypandoc
Buildable: True
else
Buildable: False
+ Other-Modules: Prelude
Test-Suite test-pandoc
Type: exitcode-stdio-1.0
@@ -492,6 +494,7 @@ Test-Suite test-pandoc
Tests.Writers.LaTeX
Tests.Writers.Docx
Tests.Writers.RST
+ Prelude
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded
Default-Language: Haskell98
@@ -505,3 +508,4 @@ benchmark benchmark-pandoc
criterion >= 1.0 && < 1.2
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
Default-Language: Haskell98
+ Other-Modules: Prelude