haskellPackages.gi-vte: fix by adding missing gi-cairo dep

This commit is contained in:
Dennis Gosnell
2023-12-27 09:23:06 +09:00
parent fe1afe6938
commit 9a00eb1250

View File

@@ -2186,6 +2186,22 @@ self: super: {
gi-gtk-declarative = doJailbreak super.gi-gtk-declarative;
gi-gtk-declarative-app-simple = doJailbreak super.gi-gtk-declarative-app-simple;
# Missing dependency on gi-cairo
# https://github.com/haskell-gi/haskell-gi/pull/420
gi-vte =
overrideCabal
(oldAttrs: {
# This is implemented as a sed expression instead of pulling a patch
# from upstream because the gi-vte repo doesn't actually contain a
# gi-vte.cabal file. The gi-vte.cabal file is generated from metadata
# in the repo.
postPatch = (oldAttrs.postPatch or "") + ''
sed -i 's/\(gi-gtk == .*\),/\1, gi-cairo == 1.0.*,/' ./gi-vte.cabal
'';
buildDepends = (oldAttrs.buildDepends or []) ++ [self.gi-cairo];
})
super.gi-vte;
# 2023-04-09: haskell-ci needs Cabal-syntax 3.10
# 2023-07-03: allow lattices-2.2, waiting on https://github.com/haskell-CI/haskell-ci/pull/664
haskell-ci = doJailbreak (super.haskell-ci.overrideScope (self: super: {