added suggestion to support both str and int

This commit is contained in:
Emily Ann Ediger 2018-06-19 04:05:50 -05:00
parent ae04fb01f8
commit ac0136509c

View file

@ -386,7 +386,8 @@ in
default = mkOption {
default = "0";
type = types.str;
type = types.either types.int types.str;
apply = toString;
description = ''
Index of the default menu item to be booted.
'';