Commit b1c91d11 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

hashable: Work-around haddock bug

parent 9a1778db
haskell-hashable (1.2.7.0-5) unstable; urgency=medium
* Fix "FTBFS when built with dpkg-buildpackage -A" by preprocessing
the .hsc files before calling haddock (Closes: #906602).
-- Ilias Tsitsimpis <iliastsi@debian.org> Mon, 15 Oct 2018 15:54:10 +0300
haskell-hashable (1.2.7.0-4) unstable; urgency=medium
* Remove build dependency on libghc-text-dev (provided by ghc-8.4.3)
......
......@@ -9,3 +9,10 @@ DEB_ENABLE_TESTS := yes
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
# Avoid haddock bug with ppHsc2hs by first running cabal build, which does the
# preprocessing of the .hsc files correctly. Then haddock doesn't choke on the
# preprocessing, and builds the docs for the library component.
# For more information, see:
# https://github.com/haskell/cabal/issues/4215#issuecomment-273486201
build-haddock-stamp: build-ghc-stamp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment