nixos/i18n: correct defaultText for supportedLocales

(cherry picked from commit 1785fe6c01)
This commit is contained in:
Joerie de Gram
2023-07-08 16:43:22 +02:00
committed by github-actions[bot]
parent 3dce5e9104
commit e80fc93da4

View File

@@ -66,6 +66,7 @@ with lib;
(builtins.map (l: (replaceStrings [ "utf8" "utf-8" "UTF8" ] [ "UTF-8" "UTF-8" "UTF-8" ] l) + "/UTF-8") (
[
"C.UTF-8"
"en_US.UTF-8"
config.i18n.defaultLocale
] ++ (attrValues (filterAttrs (n: v: n != "LANGUAGE") config.i18n.extraLocaleSettings))
))