[Pkg-haskell-maintainers] Bug#742954: pandoc: Does not respect the http_proxy environment variable

John MacFarlane jgm at berkeley.edu
Sun Mar 30 22:33:24 UTC 2014

Upstream maintainer here.  Yes, it would be terrific if you'd
report this upstream, at

By default, pandoc now uses http-conduit to connect (since this,
unlike HTTP, supports SSL).  http-conduit has a way to specify a
proxy, but it may not automatically support that environment
variable.  This could be done in pandoc.

+++ intrigeri at debian.org [Mar 29 14 11:54 ]:
>Package: pandoc
>Severity: normal
>I'm running:
>    $ export http_proxy=
>    $ pandoc --self-contained -t revealjs -s slides.mdwn -o slides.html
>... and pandoc connects directly to the web, while I would expect it
>to respect the configured http_proxy.
>This is a bit surprising to me, as pandoc uses haskell-http, that has
>support for this environment variable. Maybe pandoc needs to
>explicitly enable haskell-http's proxy support?
>If you prefer me to report this problem upstream, just tell me :)
>-- System Information:
>Debian Release: jessie/sid
>  APT prefers unstable
>  APT policy: (990, 'unstable')
>Architecture: amd64 (x86_64)
>Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
>Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Versions of packages pandoc depends on:
>ii  libc6        2.18-4
>ii  libffi6      3.1~rc1-2
>ii  libgmp10     2:6.0.0+dfsg-1
>ii  libicu52     52.1-3
>ii  liblua5.1-0  5.1.5-5
>ii  libpcre3     1:8.31-2
>ii  libyaml-0-2  0.1.4-3.1
>ii  pandoc-data
>ii  zlib1g       1:1.2.8.dfsg-1
>pandoc recommends no packages.
>Versions of packages pandoc suggests:
>pn  etoolbox                   <none>
>pn  pandoc-citeproc            <none>
>ii  texlive-latex-recommended  2013.20140314-1
>ii  texlive-luatex             2013.20140314-1
>ii  texlive-xetex              2013.20140314-1
>-- no debconf information
>  intrigeri
>  | GnuPG key @ https://gaffer.ptitcanardnoir.org/intrigeri/intrigeri.asc
>  | OTR fingerprint @ https://gaffer.ptitcanardnoir.org/intrigeri/otr.asc

More information about the Pkg-haskell-maintainers mailing list