Merge pull request #1767 from the-kenny/fix-consoleKeyMap-type

i18n.consoleKeyMap: Accept string or path.
This commit is contained in:
Domen Kožar 2014-03-08 18:04:55 +01:00
commit bb7fe59b80

View file

@ -53,7 +53,11 @@ in
};
consoleKeyMap = mkOption {
type = types.str;
type = mkOptionType {
name = "string or path";
check = t: (isString t || types.path.check t);
};
default = "us";
example = "fr";
description = ''