nixosTests.i18n: init
This commit is contained in:
parent
e8581078a1
commit
cbbd59e14e
@ -994,6 +994,7 @@ in
|
|||||||
orthanc = runTest ./orthanc.nix;
|
orthanc = runTest ./orthanc.nix;
|
||||||
owncast = handleTest ./owncast.nix { };
|
owncast = handleTest ./owncast.nix { };
|
||||||
outline = handleTest ./outline.nix { };
|
outline = handleTest ./outline.nix { };
|
||||||
|
i18n = runTest ./i18n.nix;
|
||||||
image-contents = handleTest ./image-contents.nix { };
|
image-contents = handleTest ./image-contents.nix { };
|
||||||
openvscode-server = handleTest ./openvscode-server.nix { };
|
openvscode-server = handleTest ./openvscode-server.nix { };
|
||||||
open-webui = runTest ./open-webui.nix;
|
open-webui = runTest ./open-webui.nix;
|
||||||
|
|||||||
43
nixos/tests/i18n.nix
Normal file
43
nixos/tests/i18n.nix
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
name = "glibLocales-custom-builds";
|
||||||
|
meta.maintainers = with lib.maintainers; [ doronbehar ];
|
||||||
|
|
||||||
|
nodes = {
|
||||||
|
nonUTF8Charset = {
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US";
|
||||||
|
defaultCharset = "ISO-8859-1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraLocales1 = {
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
extraLocales = [
|
||||||
|
"nl_NL.UTF-8/UTF-8"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
extraLocaleSettings = {
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
extraLocaleSettings = {
|
||||||
|
LC_MESSAGES = "en_US.UTF-8";
|
||||||
|
LC_TIME = "de_DE.UTF-8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
localeCharsets = {
|
||||||
|
i18n = {
|
||||||
|
defaultLocale = "en_US.UTF-8";
|
||||||
|
extraLocaleSettings = {
|
||||||
|
LC_TIME = "de_DE";
|
||||||
|
};
|
||||||
|
localeCharsets = {
|
||||||
|
LC_TIME = "ISO-8859-1";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
testScript = { nodes, ... }: "";
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user