Hi Abbé,

On 21/09/24 10:08, Abbé wrote:
Hi,

Since I updated guix few days ago, I started observing following notice 
whenever I start a new shell (with zsh, or bash -l):

==================================================================
guile: warning: failed to install locale
guile: warning: failed to install locale
hint: Consider installing the `glibc-locales' package and defining
`GUIX_LOCPATH', along these lines:

      guix install glibc-locales
      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.
==================================================================

I'm running GuixSD, and have installed glibc-locales in system profile. I don't 
have GUIX_LOCPATH, and never had that set before either.

Following is the output from guix describe:

==================================================================
❯ guix describe
hint: Consider installing the `glibc-locales' package and defining 
`GUIX_LOCPATH', along these lines:

      guix install glibc-locales
      export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"

See the "Application Setup" section in the manual, for more info.

Generation 17   Sep 21 2024 10:03:22    (current)
   guix 9d75215
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 9d75215a59629ab224154ef6b843043289291f81
   nonguix 99a4773
     repository URL: https://gitlab.com/nonguix/nonguix
     branch: master
     commit: 99a47731552b179ea021a65a8a6f474cece68182
==================================================================

Any ideas how to rectify this, and what caused it ?

Did you restart the system?

I also upgraded my system (a couple of days before you) and I also saw the hint about setting up GUIX_LOCPATH. This has happened before when I upgrade, but the message goes away after restarting the system.

Just as you, I have "glibc-locales" listed in my system's packages. Also, I don't set GUIX_LOCPATH manually anywhere, but it is set like this:

  ❯ echo $GUIX_LOCPATH
  /run/current-system/profile/lib/locale

Hope that helps,

Attachment: OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to