Subject: bug#29686: gnu: aspell: Do not ignore GuixOS system profile.

From: [email-masked] (Ludovic Courtès)
Date: Wed, 13 Dec 2017 22:52:44 +0100

Hello,

Oleg Pykhalov <[email-masked]> skribis:

> Currently, if aspell is installed in GuixOS system profile and not in
> user profile then aspell cannot find dictionaries.

If you install both aspell and aspell-dict-* in the global profile, then
ASPELL_DICT_DIR will point to /run/current-system/profile/lib/aspell
instead of ~/.guix-profile/lib/aspell.  Likewise:

--8<---------------cut here---------------start------------->8---
$ guix environment --ad-hoc aspell aspell-dict-ru coreutils -C -- env | grep ASPELL

[...]

ASPELL_DICT_DIR=/gnu/store/hssihv9d5cq5hzh0kiwdwiv6qcrc921c-profile/lib/aspell
--8<---------------cut here---------------end--------------->8---

So I’m not sure we need a custom fix, do we?  :-)

Ludo’.