diff options
| author | Silvan Mosberger <contact@infinisil.com> | 2021-09-22 16:53:19 +0200 |
|---|---|---|
| committer | Silvan Mosberger <contact@infinisil.com> | 2021-09-22 19:27:53 +0200 |
| commit | 82590fed5fe04aa2503e36e81c84b1e3455780e5 (patch) | |
| tree | 07ab4270ed5ff32b179a3eacffb60273ca49b842 /pkgs/development/python-modules/rangehttpserver | |
| parent | 6cc26a9a3437f42da76c0c841f063acda0e7bbac (diff) | |
glibcLocales: Fix build for duplicates in locales list
Without this patch, setting the same locale twice, e.g. like this in
NixOS:
```nix
{
i18n.supportedLocales = [
(config.i18n.defaultLocale + "/UTF-8")
(config.i18n.defaultLocale + "/UTF-8")
];
}
```
Would make the glibcLocales build fail with
```
Error: unsupported locales detected:
en_US.UTF-8/UTF-8 \
You should choose from the list above the error.
```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
