locales.org 758 B

The Error


guile: warning: failed to install locale

Fix

  • The locales error stems from the base profile.
  • Locales must be installed in the base profile. Install the following packages in the base profile:
  • #+BEGIN_SRC shell glibc-locales glibc-utf8-locales #+END_SRC
  • Also the system must be aware of the path to the locales. To make it aware add the following to your /root/.profile and ~${HOME}/.profile~:
  • #+BEGIN_SRC shell ######## # GUIX # ######## # locales path export GUIX_LOCPATH="${HOME}/.guix-profile/lib/locale" #+END_SRC
  • To make it work without logging in or rebooting run:
  • #+BEGIN_SRC shell source /root/.profile # as root source ${HOME}/.profile # as normal user #+END_SRC