Commit cbbd59e1 authored by Doron Behar's avatar Doron Behar
Browse files

nixosTests.i18n: init

parent e8581078
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;

nixos/tests/i18n.nix

0 → 100644
+43 −0
Original line number Diff line number Diff line
{ 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, ... }: "";
}