From: ludo@gnu.org (Ludovic Courtès)
To: Oleg Pykhalov <go.wigust@gmail.com>
Cc: 29686@debbugs.gnu.org
Subject: bug#29686: gnu: aspell: Do not ignore GuixOS system profile.
Date: Wed, 20 Dec 2017 21:55:40 +0100 [thread overview]
Message-ID: <87h8slunjn.fsf@gnu.org> (raw)
In-Reply-To: <873745wj6i.fsf@gmail.com> (Oleg Pykhalov's message of "Wed, 20 Dec 2017 17:47:01 +0300")
Hi Oleg,
Oleg Pykhalov <go.wigust@gmail.com> skribis:
> ludo@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’.
next prev parent reply other threads:[~2017-12-20 20:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-13 6:43 bug#29686: gnu: aspell: Do not ignore GuixOS system profile Oleg Pykhalov
2017-12-13 21:52 ` Ludovic Courtès
2017-12-20 13:14 ` Ludovic Courtès
2017-12-20 14:47 ` Oleg Pykhalov
2017-12-20 20:55 ` Ludovic Courtès [this message]
2019-11-13 17:51 ` Ludovic Courtès
2019-11-14 11:22 ` Pierre Neidhardt
2019-11-14 21:39 ` Ludovic Courtès
2019-10-17 13:04 ` Pierre Neidhardt
2019-10-26 11:02 ` Pierre Neidhardt
2019-10-27 22:31 ` Ludovic Courtès
2019-10-28 7:42 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h8slunjn.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=29686@debbugs.gnu.org \
--cc=go.wigust@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).