GNU bug report logs -
#29686
gnu: aspell: Do not ignore GuixOS system profile.
Previous Next
Full log
View this message in rfc822 format
Hi Oleg,
Oleg Pykhalov <go.wigust <at> gmail.com> skribis:
> ludo <at> gnu.org (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,
>
> guix environment --ad-hoc aspell aspell-dict-ru coreutils -C -- aspell dicts
>
> 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
> …
Indeed. I have:
--8<---------------cut here---------------start------------->8---
$ guix environment --ad-hoc aspell aspell-dict-ru -C -- aspell --config | grep -A3 dict-dir
# dict-dir (string)
# location of the main word list
# default: <$ASPELL_DICT_DIR|home-dir/.guix-profile/lib/aspell> = /gnu/store/b411b0fbwc85fjnf0h030gdkbv1qdmqh-profile/lib/aspell
dict-dir /home/ludo/.guix-profile/lib/aspell
# encoding (string)
# encoding to expect data to be in
--
# default: <actual-dict-dir> = /home/ludo/.guix-profile/lib/aspell/
# master (string)
# base name of the main dictionary to use
--8<---------------cut here---------------end--------------->8---
The value that shows up after the “=” sign is as expected (it’s
$ASPELL_DICT_DIR), but the value shown on the line below is not.
Sounds like a problem in ‘aspell-dict-dir.patch’.
Ludo’.
This bug report was last modified 5 years and 186 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.