From 2a29f4767fe2ed5eb89f4a324d987e81e4352f20 Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 21 Aug 2020 01:32:22 +0200 Subject: gnu: hunspell-dict-en: Install all affix files. * gnu/packages/aspell.scm (aspell-word-list): Install affix files corresponding to installed dictionary files. --- gnu/packages/aspell.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gnu/packages/aspell.scm') diff --git a/gnu/packages/aspell.scm b/gnu/packages/aspell.scm index 22256f750b..daefbd01bd 100644 --- a/gnu/packages/aspell.scm +++ b/gnu/packages/aspell.scm @@ -404,8 +404,12 @@ dictionaries, including personal ones.") (find-files "speller" ,(string-append language ".*\\.dic$")))) - (install-file ,(string-append "speller/" language ".aff") - hunspell) + ;; Install affix files corresponding to installed dictionaries + (for-each (lambda (dic) + (install-file (string-append + "speller/" (basename dic ".dic") ".aff") + hunspell)) + (find-files hunspell ".*\\.dic$")) (symlink hunspell (string-append myspell "/dicts")) (for-each (lambda (file) (install-file file doc)) -- cgit v1.2.3