diff options
| author | John MacFarlane <[email protected]> | 2022-10-01 09:56:50 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-10-01 09:56:50 -0700 |
| commit | 42b6e3907c12aaaf5f660f4cf0543f3567d8bd69 (patch) | |
| tree | c221e5a26432e4edcd82cf2ba252e475670a9593 /pandoc-cli | |
| parent | 215d62ccd6320936620467a6d168ff1cd72def2c (diff) | |
Fix `nightly` flag build.
Diffstat (limited to 'pandoc-cli')
| -rw-r--r-- | pandoc-cli/pandoc-cli.cabal | 3 | ||||
| -rw-r--r-- | pandoc-cli/src/pandoc.hs | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/pandoc-cli/pandoc-cli.cabal b/pandoc-cli/pandoc-cli.cabal index fcd096259..22a01f939 100644 --- a/pandoc-cli/pandoc-cli.cabal +++ b/pandoc-cli/pandoc-cli.cabal @@ -72,7 +72,8 @@ executable pandoc , PandocCLI.Server if flag(nightly) cpp-options: -DNIGHTLY - build-depends: template-haskell + build-depends: template-haskell, + time if flag(server) build-depends: pandoc-server >= 0.1 && < 0.2, wai-extra >= 3.0.24, diff --git a/pandoc-cli/src/pandoc.hs b/pandoc-cli/src/pandoc.hs index 2bca7fe9f..244727719 100644 --- a/pandoc-cli/src/pandoc.hs +++ b/pandoc-cli/src/pandoc.hs @@ -1,4 +1,5 @@ {-# LANGUAGE CPP #-} +{-# LANGUAGE TemplateHaskell #-} {- | Module : Main Copyright : Copyright (C) 2006-2022 John MacFarlane |
