Hello!
GNU Guix does not follow the file system hierarchy standard (FHS) and
thus does not have a “standard location” where dictionaries can be
looked for.
When using the ‘aspell’ command-line tool, that’s not a problem: users
can simply do
export ASPELL_CONF="dict-dir $HOME/.guix-profile/lib/aspell"
and then ‘aspell’ will look for dictionaries in this place.
However, libaspell does not honor ‘ASPELL_CONF’, and thus libraries such
as Enchant that link against libaspell think there are no dictionaries
around because they’re not looking in the right place:
https://bugs.gnu.org/25836
To work around this, I considered patching our ‘aspell’ package in Guix
such that libaspell would always honor ‘ASPELL_CONF’. I tried this
naive patch: