diff options
Diffstat (limited to 'nixpkgs/doc/builders/packages/locales.section.md')
-rw-r--r-- | nixpkgs/doc/builders/packages/locales.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixpkgs/doc/builders/packages/locales.section.md b/nixpkgs/doc/builders/packages/locales.section.md index e5a037004818..3a983f13a396 100644 --- a/nixpkgs/doc/builders/packages/locales.section.md +++ b/nixpkgs/doc/builders/packages/locales.section.md @@ -1,5 +1,5 @@ # Locales {#locales} -To allow simultaneous use of packages linked against different versions of `glibc` with different locale archive formats Nixpkgs patches `glibc` to rely on `LOCALE_ARCHIVE` environment variable. +To allow simultaneous use of packages linked against different versions of `glibc` with different locale archive formats, Nixpkgs patches `glibc` to rely on `LOCALE_ARCHIVE` environment variable. -On non-NixOS distributions this variable is obviously not set. This can cause regressions in language support or even crashes in some Nixpkgs-provided programs. The simplest way to mitigate this problem is exporting the `LOCALE_ARCHIVE` variable pointing to `${glibcLocales}/lib/locale/locale-archive`. The drawback (and the reason this is not the default) is the relatively large (a hundred MiB) size of the full set of locales. It is possible to build a custom set of locales by overriding parameters `allLocales` and `locales` of the package. +On non-NixOS distributions, this variable is obviously not set. This can cause regressions in language support or even crashes in some Nixpkgs-provided programs. The simplest way to mitigate this problem is exporting the `LOCALE_ARCHIVE` variable pointing to `${glibcLocales}/lib/locale/locale-archive`. The drawback (and the reason this is not the default) is the relatively large (a hundred MiB) size of the full set of locales. It is possible to build a custom set of locales by overriding parameters `allLocales` and `locales` of the package. |