mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
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 = "0";
|
||||
type = types.str;
|
||||
type = types.either types.int types.str;
|
||||
apply = toString;
|
||||
description = ''
|
||||
Index of the default menu item to be booted.
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue