Difference between revisions of "Locales"

From NixOS Wiki
Jump to: navigation, search
(Created page with "== Troubleshooting when using nix on non-NixOS linux distributions == You may need to set the environmental variable LOCALE_ACHIVE to point to your system's locale-achive. Th...")
 
m
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_ACHIVE to point to your system's locale-achive. The following applies to Debian, Red Hat, and Arch derivatives:
+
You may need to set the environmental variable LOCALE_ACHIVE 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:
  
 
<syntaxhighlight lang=bash>
 
<syntaxhighlight lang=bash>
 
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
 
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
 
</syntaxhighlight>
 
</syntaxhighlight>

Revision as of 03:06, 29 December 2020

Troubleshooting when using nix on non-NixOS linux distributions

You may need to set the environmental variable LOCALE_ACHIVE 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:

export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive