From NixOS Wiki
Jump to: navigation, search

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