nixpkgs/nixos/modules/system/boot/loader
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
..
generations-dir Revert "treewide: use buildPackages for config builders" 2019-05-31 23:27:49 +02:00
generic-extlinux-compatible nixos/generic-extlinux-compatible: fix docbook syntax 2020-06-23 20:51:02 +02:00
grub grub: Fix incorrect upgrade to new jsonStateLine. See #85895. (#92520) 2020-07-07 00:53:55 +02:00
init-script specialisation: replace nesting with named configurations 2020-04-12 08:12:50 -04:00
raspberrypi raspberrypi-builder: ensure scripts fails on error 2020-06-11 14:41:18 -04:00
systemd-boot nixos/systemd-boot: fix incorrect string formatting 2020-06-18 19:58:50 -04:00
efi.nix Use systemd-boot instead of gummiboot 2016-05-31 17:02:47 +02:00
loader.nix nixos/treewide: Move rename.nix imports to their respective modules 2019-12-10 02:51:19 +01:00