tmux

  • Done
  • quality assurance status badge
Details
4 participants
  • awb99 via web
  • Ludovic Courtès
  • Pink Gorilla
  • zimoun
Owner
unassigned
Submitted by
Pink Gorilla
Severity
normal
P
P
Pink Gorilla wrote on 21 Feb 2021 17:46
(address . bug-guix@gnu.org)
CAEfBB79FtFTYZ644nQ5n4p7Ez1n9CwAJnVFZsfBD=VKuOCPh=A@mail.gmail.com
Trying to run tmux in a guix environment --container
brings me this error message:

tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968
Attachment: file
A
A
awb99 via web wrote on 21 Feb 2021 23:46
(address . 46691@debbugs.gnu.org)
7f9bd991db20.3da98011f28c822@guile.gnu.org
It works when I install: "glibc-utf8-locales" and start environment without -pure
with --preserve='^GUIX_LOCPATH$'
L
L
Ludovic Courtès wrote on 22 Feb 2021 09:11
(address . 46691@debbugs.gnu.org)(name . Pink Gorilla)(address . pinkgorillawb@gmail.com)
87lfbgfrom.fsf@gnu.org
awb99 via web <issues.guix.gnu.org@elephly.net> skribis:

Toggle quote (3 lines)
> It works when I install: "glibc-utf8-locales" and start environment without -pure
> with --preserve='^GUIX_LOCPATH$'

Yes. Alternatively, you could add ‘glibc-utf8-locales’ to your
container and set GUIX_LOCPATH accordingly, like so:

guix environment --container --ad-hoc glibc-utf8-locales tmux …

and then:

export GUIX_LOCPATH=$GUIX_ENVIRONMENT/lib/locale

Ludo’.
Z
Z
zimoun wrote on 26 Mar 2021 09:38
(name . Pink Gorilla)(address . pinkgorillawb@gmail.com)(address . 46691-done@debbugs.gnu.org)
867dlub97h.fsf@gmail.com
Hi,

On Sun, 21 Feb 2021 at 11:46, Pink Gorilla <pinkgorillawb@gmail.com> wrote:
Toggle quote (5 lines)
> Trying to run tmux in a guix environment --container
> brings me this error message:
>
> tmux: need UTF-8 locale (LC_CTYPE) but have ANSI_X3.4-1968

It is not a bug and you can run

guix environment --container --ad-hoc glibc-utf8-locales tmux …

and then:

export GUIX_LOCPATH=$GUIX_ENVIRONMENT/lib/locale

or use the option --preserve.


Closing.

All the best,
simon
Closed
?