guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: nuspell: Add search path specification for DICPATH.


From: guix-commits
Subject: 02/02: gnu: nuspell: Add search path specification for DICPATH.
Date: Mon, 25 Mar 2024 12:28:47 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 929ddec8f4a181be653152c7436581c2adc54eee
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon Mar 25 17:26:24 2024 +0100

    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 @@
     (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]