mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Grub: default is signed int. Fixes #42152
This commit is contained in:
parent
4b649a99d8
commit
08691d0515
@ -386,7 +386,7 @@ in
|
||||
|
||||
default = mkOption {
|
||||
default = 0;
|
||||
type = types.int;
|
||||
type = types.str;
|
||||
description = ''
|
||||
Index of the default menu item to be booted.
|
||||
'';
|
||||
|
@ -54,7 +54,7 @@ my $splashImage = get("splashImage");
|
||||
my $configurationLimit = int(get("configurationLimit"));
|
||||
my $copyKernels = get("copyKernels") eq "true";
|
||||
my $timeout = int(get("timeout"));
|
||||
my $defaultEntry = int(get("default"));
|
||||
my $defaultEntry = get("default");
|
||||
my $fsIdentifier = get("fsIdentifier");
|
||||
my $grubEfi = get("grubEfi");
|
||||
my $grubTargetEfi = get("grubTargetEfi");
|
||||
|
Loading…
Reference in New Issue
Block a user