mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-20 11:27:22 +03:00
10 lines
571 B
Nix
10 lines
571 B
Nix
# haskell-gi packages need gobject-introspection turned on
|
|
final: prev: {
|
|
# As of nixpkgs 20.09 harfbuzz is built with mesonFlags and hopefully includes
|
|
# gobject introspection correctly. Older nixpkgs will have configureFlags to update.
|
|
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 ];
|
|
});
|
|
}
|