all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Catonano <catonano@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: failed to install locale
Date: Sat, 9 Apr 2016 12:17:49 -0400	[thread overview]
Message-ID: <20160409161749.GA27895@jasmine> (raw)
In-Reply-To: <CAJ98PDzRiCRv8wRJtYZd_UEFCxbiNpN8gizoUBsbEu0QbG=QYQ@mail.gmail.com>

On Sat, Apr 09, 2016 at 12:24:43PM +0200, Catonano wrote:
> Ok, going on with my attempt to do the binary installation of Guix
> 
> In order to read what follows, I suspect that the information that I'm on a
> Fedora 23 x64 installation with the Italian locale as current can help.
> 
> 
> At the step no 7, this is what happens
> 
> [root@machine info] # guix archive --authorize <
> ~root/.guix-profile/share/guix/hydra.gnu.org.pub
> warning: failed to install locale: Invalid argument

That warning should not be a problem.

If you end up having locale issues while using the software that you've
installed with Guix, you'll need to point the environment variable
GUIX_LOCPATH at a locale package installed by Guix [0], as shown in
2.6 Application Setup [1].

So, I set that variable in the file that configures my login shell (not
my interactive shell). For Bash [2], this could be ~/.profile. For Zsh,
this could be ~/.zprofile [3].

And, since you are configuring login shells, it won't take effect until
you open a new login shell, as with `bash -l` or by logging out and back
in.

I hope that helps!

By the way, it's also a good idea to source the file
~/.guix-profile/etc/profile in your login shell. It sets some useful
variables.

[0]
I don't know whether or not you could use the locales provided by your
host distro.

[1]
https://www.gnu.org/software/guix/manual/guix.html#Application-Setup

[2]
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html

[3]
http://zsh.sourceforge.net/Intro/intro_3.html

  reply	other threads:[~2016-04-09 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 10:24 failed to install locale Catonano
2016-04-09 16:17 ` Leo Famulari [this message]
2016-04-09 21:11   ` Catonano

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160409161749.GA27895@jasmine \
    --to=leo@famulari.name \
    --cc=catonano@gmail.com \
    --cc=help-guix@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.