From fb0b48d3af008ab589b38f578d8894c6956d0c6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= <1771332+vlaci@users.noreply.github.com> Date: Wed, 29 Mar 2023 00:17:14 +0200 Subject: [PATCH] enchant: explicitly enable required providers leaving provider detection to the build process is error-prone, as a missing or invalid dependency will just result in the derivation being built without it enabled. As of now, the nuspell provider is not buildable: configure: error: --with-nuspell was given, but test(s) for nuspell failed --- pkgs/development/libraries/enchant/2.x.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/enchant/2.x.nix b/pkgs/development/libraries/enchant/2.x.nix index e3975dd0c31..4c52a164f7c 100644 --- a/pkgs/development/libraries/enchant/2.x.nix +++ b/pkgs/development/libraries/enchant/2.x.nix @@ -46,6 +46,10 @@ stdenv.mkDerivation rec { configureFlags = [ "--enable-relocatable" # needed for tests + "--with-aspell" + "--with-hspell" + "--with-hunspell" + "--with-nuspell" ]; meta = with lib; {