nixpkgs/nixos/modules/system/boot/loader/grub
Niklas Hambüchen e8c1ff9ef8
grub: Fix incorrect upgrade to new jsonStateLine. See #85895. (#92520)
Fixes error

    Can't use an undefined value as an ARRAY reference at /nix/store/...-install-grub.pl line 642, <FILE> line 5.

with `/boot/grub/state` being:

```
grub
2.04
no
/dev/sda
/boot

```

I am not sure where the trailing empty line can come from; the script does not
seem to write it. In any case, now we handle that situation as well.

Further, ensure that `extraGrubInstallArgs` defaults to the empty array
if its key is not present in the `jsonState`.
2020-07-07 00:53:55 +02:00
..
grub.nix grub: Add boot.loader.grub.extraGrubInstallArgs option. 2020-07-06 22:07:46 +02:00
install-grub.pl grub: Fix incorrect upgrade to new jsonStateLine. See #85895. (#92520) 2020-07-07 00:53:55 +02:00
ipxe.nix Add missing 'type', 'defaultText' and 'literalExample' in module definitions 2016-01-17 19:41:23 +01:00
memtest.nix nixos/grub: make memtest work with EFI 2020-02-05 11:12:55 +07:00