Locales: Difference between revisions

imported>L0b0
Enable locale support in Nix shell
imported>Raicuparta
No edit summary
Line 1: Line 1:
== Troubleshooting when using nix on non-NixOS linux distributions ==
== Troubleshooting when using nix on non-NixOS linux distributions ==


You may need to set the environmental variable LOCALE_ARCHIVE to point to your system's locale-achive. The following can be added to your .zshenv (zsh) or .profile (bash) and applies to Debian, Red Hat, and Arch derivatives:
You may need to set the environmental variable LOCALE_ARCHIVE to point to your system's locale-archive. The following can be added to your .zshenv (zsh) or .profile (bash) and applies to Debian, Red Hat, and Arch derivatives:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>