summaryrefslogtreecommitdiff
path: root/pandoc.cabal
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-10-23 22:16:00 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-10-23 22:16:00 +0200
commit738806112bc0ee1711c6f170361d382c7d4265e8 (patch)
tree26fdc9916d3908c36504487bf94fe55f5bcd91fe /pandoc.cabal
parent5ec7331349f14238734433448afcbcf7c804494b (diff)
Allow binary formats to be written to stdout unless tty output.
Only works on posix. On Windows, pandoc works as before and requires an output file parameter for binary formats. Closes #2677.
Diffstat (limited to 'pandoc.cabal')
-rw-r--r--pandoc.cabal3
1 files changed, 3 insertions, 0 deletions
diff --git a/pandoc.cabal b/pandoc.cabal
index 57a8f6020..da9d005ef 100644
--- a/pandoc.cabal
+++ b/pandoc.cabal
@@ -442,6 +442,9 @@ Executable pandoc
Ghc-Prof-Options: -fprof-auto-exported -rtsopts -with-rtsopts=-K16m
if os(windows)
Cpp-options: -D_WINDOWS
+ else
+ Build-Depends: unix >= 2.4 && < 2.8
+
Default-Language: Haskell98
Other-Extensions: PatternGuards, OverloadedStrings,
ScopedTypeVariables, GeneralizedNewtypeDeriving,