From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#29686: gnu: aspell: Do not ignore GuixOS system profile. Date: Wed, 20 Dec 2017 21:55:40 +0100 Message-ID: <87h8slunjn.fsf@gnu.org> References: <87vahbgmbc.fsf@gmail.com> <871sjygus3.fsf@gnu.org> <87a7ydy21j.fsf@gnu.org> <873745wj6i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRlPJ-0005RD-0C for bug-guix@gnu.org; Wed, 20 Dec 2017 15:56:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRlPG-00053i-Ev for bug-guix@gnu.org; Wed, 20 Dec 2017 15:56:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36161) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRlPG-00053c-BI for bug-guix@gnu.org; Wed, 20 Dec 2017 15:56:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRlPG-0000Oq-0m for bug-guix@gnu.org; Wed, 20 Dec 2017 15:56:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <873745wj6i.fsf@gmail.com> (Oleg Pykhalov's message of "Wed, 20 Dec 2017 17:47:01 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Oleg Pykhalov Cc: 29686@debbugs.gnu.org Hi Oleg, Oleg Pykhalov skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) 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=3D/gnu/store/hssihv9d5cq5hzh0kiwdwiv6qcrc921c-profile/l= ib/aspell >>> >>> So I=E2=80=99m 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 di= cts > > 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 > =E2=80=A6 Indeed. I have: --8<---------------cut here---------------start------------->8--- $ guix environment --ad-hoc aspell aspell-dict-ru -C -- aspell --config | g= rep -A3 dict-dir # dict-dir (string) # location of the main word list # default: <$ASPELL_DICT_DIR|home-dir/.guix-profile/lib/aspell> =3D /gnu/st= ore/b411b0fbwc85fjnf0h030gdkbv1qdmqh-profile/lib/aspell dict-dir /home/ludo/.guix-profile/lib/aspell # encoding (string) # encoding to expect data to be in -- # default: =3D /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 =E2=80=9C=3D=E2=80=9D sign is as expected= (it=E2=80=99s $ASPELL_DICT_DIR), but the value shown on the line below is not. Sounds like a problem in =E2=80=98aspell-dict-dir.patch=E2=80=99. Ludo=E2=80=99.