forked from mirrors/nixpkgs
added suggestion to support both str and int
This commit is contained in:
parent
ae04fb01f8
commit
ac0136509c
|
@ -386,7 +386,8 @@ in
|
||||||
|
|
||||||
default = mkOption {
|
default = mkOption {
|
||||||
default = "0";
|
default = "0";
|
||||||
type = types.str;
|
type = types.either types.int types.str;
|
||||||
|
apply = toString;
|
||||||
description = ''
|
description = ''
|
||||||
Index of the default menu item to be booted.
|
Index of the default menu item to be booted.
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue