Here is what I did so far. Same thing.

ruki@ruki-ThinkPad-T400:~$ guix package -i glibc-locales
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
The following package will be upgraded:
   glibc-locales    2.26.105-g0890d5379c -> 2.26.105-g0890d5379c    /gnu/store/j73ld7v624ix39imy94bncxzl8nirdn8-glibc-locales-2.26.105-g0890d5379c

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/br2by76f04pmfcl4fr4jm00mc6xhp1fl-profile.drv
   /gnu/store/6nqbjiijp6pihinif3ikywf652ph2yck-ca-certificate-bundle.drv
   /gnu/store/6k0qgwhzq6mc1hqnh3vi75am3n3i5650-info-dir.drv
   /gnu/store/268wyfb4bpk2536hj1pir1l9xp11622r-fonts-dir.drv
   /gnu/store/8q3ys53cx6xjl8dzphisskckg6c13g78-manual-database.drv
Creating manual page database...
1 entries processed in 0.5 s
4 packages in profile
The following environment variable definitions may be needed:
   export PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"
ruki@ruki-ThinkPad-T400:~$ export PATH="/home/ruki/.guix-profile/bin${PATH:+:}$PATH"
ruki@ruki-ThinkPad-T400:~$ guix package
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
ruki@ruki-ThinkPad-T400:~$


On 03/15/2018 03:35 PM, Ricardo Wurmus wrote:
darlingmouse <darlingmouse@posteo.us> writes:

ruki@ruki-ThinkPad-T400:~$ export
GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
Does this directory exist?  If it doesn’t you may need to install
the “glibc-locales” package first.

ruki@ruki-ThinkPad-T400:~$ guix package
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument
I wonder if this comes from the daemon’s environment.  If so,
GUIX_LOCPATH needs to be set in the environment in which the daemon is
started.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net