From 929ddec8f4a181be653152c7436581c2adc54eee Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 25 Mar 2024 17:26:24 +0100 Subject: gnu: nuspell: Add search path specification for DICPATH. * gnu/packages/enchant.scm (nuspell)[native-search-path]: Add DICPATH. This change is required to let Nuspell detect Hunspell dictionaries. Change-Id: I731752142afcae1fc2b91c01fb9dbe914d33244f --- gnu/packages/enchant.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index c9351ed3c3..5efa0f2689 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -57,6 +57,9 @@ (define-public nuspell (build-system cmake-build-system) (native-inputs (list catch2-3 pkg-config)) (propagated-inputs (list icu4c)) + (native-search-paths (list (search-path-specification + (variable "DICPATH") + (files '("share/hunspell"))))) (synopsis "Fast and safe spellchecking C++ library") (description "Nuspell is a fast and safe spelling checker software program. It is designed for languages with rich morphology and complex word -- cgit v1.2.3