mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
nixosTests.i18n: init
This commit is contained in:
parent
e8581078a1
commit
cbbd59e14e
2 changed files with 44 additions and 0 deletions
|
@ -994,6 +994,7 @@ in
|
|||
orthanc = runTest ./orthanc.nix;
|
||||
owncast = handleTest ./owncast.nix { };
|
||||
outline = handleTest ./outline.nix { };
|
||||
i18n = runTest ./i18n.nix;
|
||||
image-contents = handleTest ./image-contents.nix { };
|
||||
openvscode-server = handleTest ./openvscode-server.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…
Add table
Add a link
Reference in a new issue