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

From: Oleg Pykhalov <[email-masked]>
Date: Wed, 20 Dec 2017 17:47:01 +0300

Hello Ludovic,

Apologies for late reply.  I thought how to reproduce it properly.

[email-masked] (Ludovic Courtès) writes:

>>> 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:
>>
>> $ guix environment --ad-hoc aspell aspell-dict-ru coreutils -C --
>> env | grep ASPELL
>>
>> [...]
>>
>> ASPELL_DICT_DIR=/gnu/store/hssihv9d5cq5hzh0kiwdwiv6qcrc921c-profile/lib/aspell
>>
>> So I’m not sure we need a custom fix, do we?  :-)
>
> Oleg, can we close this bug?

No,

--8<---------------cut here---------------start------------->8---
guix environment --ad-hoc aspell aspell-dict-ru coreutils -C -- aspell dicts
--8<---------------cut here---------------end--------------->8---

returns nothing, but need to return a list like

    en
    en-variant_0
    en-variant_1
    en-variant_2
    en-w_accents
    en-wo_accents
    en_AU
    en_AU-variant_0
    …

Thanks,
Oleg.