diff options
author | Shea Levy <shea@shealevy.com> | 2015-02-08 22:31:14 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-02-08 22:31:14 -0500 |
commit | 24c0844cfb43003625d0a0d5bdfc75284ce79dc7 (patch) | |
tree | 8d8989ba7803000a20ce7c8db8cb441390288a0a /nixos/modules/system/boot/loader | |
parent | 0d80ab2dd971858f2070db4223b7ceee2168876e (diff) | |
download | nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar.gz nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar.bz2 nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar.lz nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar.xz nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.tar.zst nixlib-24c0844cfb43003625d0a0d5bdfc75284ce79dc7.zip |
Fix grub on nodev installs
Diffstat (limited to 'nixos/modules/system/boot/loader')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/grub.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix index ed2249a4ba7a..0cfef7df1972 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -29,7 +29,7 @@ let grubConfig = pkgs.writeText "grub-config.xml" (builtins.toXML { splashImage = f config.boot.loader.grub.splashImage; grub = f grub; - grubTarget = f grub.grubTarget; + grubTarget = f (grub.grubTarget or ""); shell = "${pkgs.stdenv.shell}"; fullVersion = (builtins.parseDrvName realGrub.name).version; grubEfi = f grubEfi; |