i18n: Fix vconsole colorscheme generation

Close #12442.
abbradar: remove trailing spaces.
This commit is contained in:
rnhmjoj 2016-01-17 17:54:33 +01:00 committed by Nikolay Amiantov
parent 1dfdd01ec9
commit 641a951c61

View File

@ -5,13 +5,13 @@ with lib;
let
makeColor = n: value: "COLOR_${toString n}=${value}";
colors = concatImapStringsSep "\n" makeColor config.i18n.consoleColors;
vconsoleConf = pkgs.writeText "vconsole.conf"
''
KEYMAP=${config.i18n.consoleKeyMap}
FONT=${config.i18n.consoleFont}
'' + concatImapStringsSep "\n" makeColor config.i18n.consoleColors;
vconsoleConf = pkgs.writeText "vconsole.conf" ''
KEYMAP=${config.i18n.consoleKeyMap}
FONT=${config.i18n.consoleFont}
${colors}
'';
in
{