On Wed, Mar 18, 2020 at 7:18 PM Marius Bakke <[email protected]> wrote:

> Tje Mikael,
>
> Mikael Djurfeldt <[email protected]> writes:
>
> > To reproduce the bug:
> >
> > * install guix on top of an ordinary linux distribution using the install
> > script at guix.gnu.org
> >
> > * install glibc-locales as root
> >
> > Expected:
> >
> > There should be a link ~root/.guix-profile/lib/locales
>
> That should be ~root/.guix-profile/lib/locale (note the singular).
>

Right (just misspelled in the bug report).


> This directory actually comes pre-populated with a small subset of UTF-8
> locales when using the binary installation method like the script does,
> so it's odd if you don't find anything there.
>

I think so too. (But it's not true that it is a small subset of UTF-8
locales. It's a big package with several types of locale.)

>
> Which distribution are you on,


Debian Buster


> and how do you become root?


sudo -i


>   Is the $HOME
> variable set to root's home directory when you are in a root shell?
>

Yes.

To figure out where the package gets installed, try running this
> command:
>
> find /var/guix/profiles -name sv_SE.utf8 -type d
>

It's obvious that that line will produce an empty result. That is because
the sv_SE.utf8 directory only exists in the store. But I don't see the
point of looking it up in the store. The problem is that the link into the
store from the root user profile is never created. (It *is* created in
other user profiles.)

Best regards,
Mikael

Reply via email to