i18n: set the appropriate LOCALE_ARCHIVE_x_xx variable (#1659)
This commit is contained in:
parent
08fc1586c0
commit
9a12cd7e81
12 changed files with 93 additions and 16 deletions
|
|
@ -1,2 +1,3 @@
|
|||
LOCALE_ARCHIVE_2_27=@glibcLocales@/lib/locale/locale-archive
|
||||
V_int=1
|
||||
V_str=2
|
||||
|
|
|
|||
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
with lib;
|
||||
|
||||
{
|
||||
let
|
||||
expectedConf = pkgs.substituteAll {
|
||||
src = ./session-variables-expected.conf;
|
||||
inherit (pkgs) glibcLocales;
|
||||
};
|
||||
in {
|
||||
config = {
|
||||
systemd.user.sessionVariables = {
|
||||
V_int = 1;
|
||||
|
|
@ -12,7 +17,7 @@ with lib;
|
|||
nmt.script = ''
|
||||
envFile=home-files/.config/environment.d/10-home-manager.conf
|
||||
assertFileExists $envFile
|
||||
assertFileContent $envFile ${./session-variables-expected.conf}
|
||||
assertFileContent $envFile ${expectedConf}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue