Fix grub on nodev installs

This commit is contained in:
Shea Levy 2015-02-08 22:31:14 -05:00
parent 0d80ab2dd9
commit 24c0844cfb

View File

@ -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;