forked from mirrors/nixpkgs
Fix grub on nodev installs
This commit is contained in:
parent
0d80ab2dd9
commit
24c0844cfb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue