Skip to content

Commit cbbd59e

Browse files
committed
nixosTests.i18n: init
1 parent e858107 commit cbbd59e

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

nixos/tests/all-tests.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ in
994994
orthanc = runTest ./orthanc.nix;
995995
owncast = handleTest ./owncast.nix { };
996996
outline = handleTest ./outline.nix { };
997+
i18n = runTest ./i18n.nix;
997998
image-contents = handleTest ./image-contents.nix { };
998999
openvscode-server = handleTest ./openvscode-server.nix { };
9991000
open-webui = runTest ./open-webui.nix;

nixos/tests/i18n.nix

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{ lib, ... }:
2+
{
3+
name = "glibLocales-custom-builds";
4+
meta.maintainers = with lib.maintainers; [ doronbehar ];
5+
6+
nodes = {
7+
nonUTF8Charset = {
8+
i18n = {
9+
defaultLocale = "en_US";
10+
defaultCharset = "ISO-8859-1";
11+
};
12+
};
13+
extraLocales1 = {
14+
i18n = {
15+
defaultLocale = "en_US.UTF-8";
16+
extraLocales = [
17+
"nl_NL.UTF-8/UTF-8"
18+
];
19+
};
20+
};
21+
extraLocaleSettings = {
22+
i18n = {
23+
defaultLocale = "en_US.UTF-8";
24+
extraLocaleSettings = {
25+
LC_MESSAGES = "en_US.UTF-8";
26+
LC_TIME = "de_DE.UTF-8";
27+
};
28+
};
29+
};
30+
localeCharsets = {
31+
i18n = {
32+
defaultLocale = "en_US.UTF-8";
33+
extraLocaleSettings = {
34+
LC_TIME = "de_DE";
35+
};
36+
localeCharsets = {
37+
LC_TIME = "ISO-8859-1";
38+
};
39+
};
40+
};
41+
};
42+
testScript = { nodes, ... }: "";
43+
}

0 commit comments

Comments
 (0)