From 293bfdc031a1eaa5cc571000977df14b6d8237c8 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 24 Oct 2023 10:33:38 +0000 Subject: [PATCH] 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. --- pkgs/development/libraries/gspell/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/gspell/default.nix b/pkgs/development/libraries/gspell/default.nix index fa7eb93fe0c6..c4d15352020a 100644 --- a/pkgs/development/libraries/gspell/default.nix +++ b/pkgs/development/libraries/gspell/default.nix @@ -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 = {