diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 21:10:31 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-11-08 21:10:31 -0800 |
commit | 67cabb2a0d09df17fa4f86b77f66e39a6f036c1d (patch) | |
tree | 1983cadd9d94f8dea163e7bc26c7140790ed37cd | |
parent | 5a9ca2617289d59e4de619a7746f04d0b9e70473 (diff) | |
download | pandoc-67cabb2a0d09df17fa4f86b77f66e39a6f036c1d.tar.gz |
Use Default-extensions rather than ghc-options for NoImplicitPrelude.
To satisfy 'cabal check'.
-rw-r--r-- | pandoc.cabal | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pandoc.cabal b/pandoc.cabal index feb6ea1df..2c7447706 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -303,9 +303,10 @@ Library other-modules: Text.Pandoc.Data if os(windows) Cpp-options: -D_WINDOWS - Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -XNoImplicitPrelude + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind Ghc-Prof-Options: -fprof-auto-exported -rtsopts Default-Language: Haskell98 + Default-Extensions: NoImplicitPrelude Other-Extensions: PatternGuards, OverloadedStrings, ScopedTypeVariables, GeneralizedNewtypeDeriving, RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances, @@ -420,11 +421,12 @@ Executable pandoc Build-Depends: network-uri >= 2.6 && < 2.7, network >= 2.6 else Build-Depends: network >= 2 && < 2.6 - Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind -XNoImplicitPrelude + Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m if os(windows) Cpp-options: -D_WINDOWS Default-Language: Haskell98 + Default-Extensions: NoImplicitPrelude Other-Extensions: PatternGuards, OverloadedStrings, ScopedTypeVariables, GeneralizedNewtypeDeriving, RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances, @@ -496,8 +498,9 @@ Test-Suite test-pandoc Tests.Writers.Docx Tests.Writers.RST Prelude - Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded -XNoImplicitPrelude + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -threaded Default-Language: Haskell98 + Default-Extensions: NoImplicitPrelude benchmark benchmark-pandoc Type: exitcode-stdio-1.0 @@ -507,6 +510,7 @@ benchmark benchmark-pandoc base >= 4.2 && < 5, syb >= 0.1 && < 0.7, criterion >= 1.0 && < 1.2 - Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind -XNoImplicitPrelude + Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind Default-Language: Haskell98 + Default-Extensions: NoImplicitPrelude Other-Modules: Prelude |