From: Julien Lepiller Date: Thu, 20 Aug 2020 23:32:22 +0000 (+0200) Subject: gnu: hunspell-dict-en: Install all affix files. X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/commitdiff_plain/2a29f4767fe2ed5eb89f4a324d987e81e4352f20 gnu: hunspell-dict-en: Install all affix files. * gnu/packages/aspell.scm (aspell-word-list): Install affix files corresponding to installed dictionary files. --- 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))