Skip to content
Snippets Groups Projects
Unverified Commit 2a29f476 authored by Julien Lepiller's avatar Julien Lepiller
Browse files

gnu: hunspell-dict-en: Install all affix files.

* gnu/packages/aspell.scm (aspell-word-list): Install affix files
corresponding to installed dictionary files.
parent 1cc75fef
No related branches found
No related tags found
No related merge requests found
...@@ -404,8 +404,12 @@ (define* (aspell-word-list language synopsis ...@@ -404,8 +404,12 @@ (define* (aspell-word-list language synopsis
(find-files "speller" (find-files "speller"
,(string-append language ".*\\.dic$")))) ,(string-append language ".*\\.dic$"))))
(install-file ,(string-append "speller/" language ".aff") ;; Install affix files corresponding to installed dictionaries
hunspell) (for-each (lambda (dic)
(install-file (string-append
"speller/" (basename dic ".dic") ".aff")
hunspell))
(find-files hunspell ".*\\.dic$"))
(symlink hunspell (string-append myspell "/dicts")) (symlink hunspell (string-append myspell "/dicts"))
(for-each (lambda (file) (for-each (lambda (file)
(install-file file doc)) (install-file file doc))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment