git.iko.soy/typeable/pandoc
on master help sign in
fix build failure with --flags=-https

The issue was originally reported by CasperVector as https://github.com/gentoo-haskell/gentoo-haskell/issues/427 Mainfests itself as a builg failure full of missing zip-archive names: src/Text/Pandoc/Shared.hs:756:49: Not in scope: type constructor or class ‘Archive’ src/Text/Pandoc/Shared.hs:777:38: Not in scope: ‘toEntry’ src/Text/Pandoc/Shared.hs:786:19: Not in scope: ‘toArchive’ Perhaps you meant ‘mbArchive’ (line 778) Included Codec.Archive.Zip unconditionally. Signed-off-by: Sergei Trofimovich <siarheit@google.com>

commitab7c5f22213d2963ea6dbbf2267a4a6ec7d5774d authorSergei Trofimovich <siarheit@google.com> dateThu 30 Jul 2015, 22:39 (11 years ago) parent0baaa10
1 file changed+2−1
src/Text/Pandoc/Shared.hs+2−1
src/Text/Pandoc/Shared.hs+2−1
@@ -136,6 +136,8 @@ import qualified Data.Text as T (toUpper, pack, unpack)
136136import Data.ByteString.Lazy (toChunks, fromChunks)
137137import qualified Data.ByteString.Lazy as BL
138138
139+import Codec.Archive.Zip
140+
139141#ifdef EMBED_DATA_FILES
140142import Text.Pandoc.Data (dataFiles)
141143#else
@@ -155,7 +157,6 @@ import Network.HTTP.Client.TLS (tlsManagerSettings)
155157import System.Environment (getEnv)
156158import Network.HTTP.Types.Header ( hContentType)
157159import Network (withSocketsDo)
158−import Codec.Archive.Zip
159160#else
160161import Network.URI (parseURI)
161162import Network.HTTP (findHeader, rspBody,