Skip to content

community/pandoc: embed data files using --constraint

Sören Tempel requested to merge nmeum/aports:pandoc-embed_data_files into master

The embed_data_files flags is only valid for pandoc, not for pandoc-cli. For this reason, we need to pass this flag when building pandoc as a dependency using cabal. This can be achieved using the --constraint flag. Contrary to the solution proposed in 69e1c77a this does not require us to build from a GitHub source tarball and still allows us to use cabal install as usual in package(). I think it may therefore be preferable to do it this way.

This partially reverts commit 69e1c77a.

Fixes #14814 (closed)

Edited by Sören Tempel

Merge request reports

Loading