diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2015-02-16 20:19:44 +0100 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2015-02-16 20:19:44 +0100 |
commit | c61ff9b51edb2c282124c45d4fae0645e137f145 (patch) | |
tree | 9b7d5332c32a6294cb589174de0e6820ea1ec2d6 /nixos/modules/system | |
parent | 4621f16b34900aa23dc6f2a872fbb9142f330335 (diff) | |
download | nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar.gz nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar.bz2 nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar.lz nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar.xz nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.tar.zst nixpkgs-c61ff9b51edb2c282124c45d4fae0645e137f145.zip |
Fix grubTarget on nodev installs
Diffstat (limited to 'nixos/modules/system')
-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 fd6523c0ece..a166709d39a 100644 --- a/nixos/modules/system/boot/loader/grub/grub.nix +++ b/nixos/modules/system/boot/loader/grub/grub.nix @@ -34,7 +34,7 @@ let shell = "${pkgs.stdenv.shell}"; fullVersion = (builtins.parseDrvName realGrub.name).version; grubEfi = f grubEfi; - grubTargetEfi = if cfg.efiSupport && (cfg.version == 2) then f grubEfi.grubTarget else ""; + grubTargetEfi = if cfg.efiSupport && (cfg.version == 2) then f (grubEfi.grubTarget or "") else ""; inherit (efi) efiSysMountPoint canTouchEfiVariables; inherit (cfg) version extraConfig extraPerEntryConfig extraEntries |