1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/nixos/modules
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
..
config nixos: fix manual build 2020-07-04 10:23:25 +01:00
hardware
i18n/input-method
installer Merge pull request #90431 from euank/nixos-install-warn 2020-07-05 18:55:43 -04:00
misc
profiles
programs nixos/fish: enable man cache generation 2020-06-29 22:28:32 +02:00
security
services postfix: Add submissions option for postfix and test (#91691) 2020-07-06 03:37:56 +02:00
system grub: Fix incorrect upgrade to new jsonStateLine. See #85895. (#92520) 2020-07-07 00:53:55 +02:00
tasks Merge pull request #92092 from ElvishJerricco/zfs-encryption-systemd-ask-password 2020-07-02 17:25:53 -04:00
testing
virtualisation Merge pull request #92122 from nh2/qemu-vm-fix-useBootLoader 2020-07-06 22:06:20 +02:00
module-list.nix Merge pull request #63165 from CRTified/module/initrd-ovpn 2020-07-05 14:32:52 +02:00
rename.nix