haskell-pango: patch to fix the build

This commit is contained in:
Peter Simons
2019-10-07 20:51:00 +02:00
parent fba182f944
commit 63faef32e6
2 changed files with 15 additions and 9 deletions
@@ -605,4 +605,10 @@ self: super: builtins.intersectAttrs super {
hadolint = overrideCabal super.hadolint (drv: {
preConfigure = "sed -i -e /ld-options:/d hadolint.cabal";
});
# gtk2hs-buildtools is listed in setupHaskellDepends, but we
# need it during the build itself, too.
cairo = addBuildTool super.cairo self.buildHaskellPackages.gtk2hs-buildtools;
pango = disableHardening (addBuildTool super.pango self.buildHaskellPackages.gtk2hs-buildtools) ["fortify"];
}