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
This commit is contained in:
Nicolas Goaziou 2024-03-25 17:26:24 +01:00
parent 53aa1677cf
commit 929ddec8f4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -57,6 +57,9 @@ (define-public nuspell
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (list catch2-3 pkg-config)) (native-inputs (list catch2-3 pkg-config))
(propagated-inputs (list icu4c)) (propagated-inputs (list icu4c))
(native-search-paths (list (search-path-specification
(variable "DICPATH")
(files '("share/hunspell")))))
(synopsis "Fast and safe spellchecking C++ library") (synopsis "Fast and safe spellchecking C++ library")
(description "Nuspell is a fast and safe spelling checker software (description "Nuspell is a fast and safe spelling checker software
program. It is designed for languages with rich morphology and complex word program. It is designed for languages with rich morphology and complex word