gspell: enable vala for cross compilation

it's already enabled for native builds because of how `configure`
detects support, this enables it for cross builds too.
vala support is critical for downstream consumers like `gnome.geary`,
which fail if their dependencies don't provide .vapi files.
This commit is contained in:
Colin 2023-10-24 10:33:38 +00:00
parent 5655c7f0be
commit 293bfdc031

View file

@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3
icu
vala # for share/vala/Makefile.vapigen (PKG_CONFIG_VAPIGEN_VAPIGEN)
];
propagatedBuildInputs = [
@ -56,6 +57,9 @@ stdenv.mkDerivation rec {
configureFlags = [
"GLIB_COMPILE_RESOURCES=${lib.getDev buildPackages.glib}/bin/glib-compile-resources"
"GLIB_MKENUMS=${lib.getDev buildPackages.glib}/bin/glib-mkenums"
"PKG_CONFIG_VAPIGEN_VAPIGEN=${lib.getBin buildPackages.vala}/bin/vapigen"
"--enable-introspection=yes"
"--enable-vala=yes"
];
passthru = {