This target works:
pandoc(
name = "html",
src = ":manual_mdx",
from_format = "markdown",
output = "manual.html",
to_format = "html",
)
This target fails:
pandoc(
name = "html",
src = ":manual_mdx",
from_format = "markdown",
output = "manual.html",
to_format = "html",
options = ["--filter", "pandoc-citeproc"],
)
ERROR:[REDACTED]/Projects/jflex/docs/BUILD:11:1: Pandoc docs/manual.html failed (Exit 1)
pandoc: PATH: getEnv: does not exist (no environment variable)
Target //docs:html failed to build