2020-07-20 05:36:29 +03:00
|
|
|
# haskell-gi packages need gobject-introspection turned on
|
|
|
|
final: prev: {
|
2020-10-07 05:42:32 +03:00
|
|
|
# As of nixpkgs 20.09 harfbuzz is built with mesonFlags and hopefully includes
|
|
|
|
# gobject introspection correctly. Older nixpkgs will have configureFlags to update.
|
2020-12-18 09:23:12 +03:00
|
|
|
harfbuzz = prev.harfbuzz.overrideAttrs (attr: final.lib.optionalAttrs (final.lib.versionOlder final.lib.trivial.release "20.09") {
|
|
|
|
configureFlags = attr.configureFlags or [] ++ [ "--enable-introspection=yes" "--with-gobject=yes" ];
|
|
|
|
buildInputs = attr.buildInputs or [] ++ [ final.pkgs.gobject-introspection ];
|
2020-07-20 05:36:29 +03:00
|
|
|
});
|
|
|
|
}
|