grub: Doesn't support building bios and efi simultaneously

This commit is contained in:
William A. Kennington III 2015-02-07 20:32:33 -08:00
parent 362d759750
commit c8a4ecd91d
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake { stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake
, gettext, ncurses, libusb, freetype, qemu, devicemapper , gettext, ncurses, libusb, freetype, qemu, devicemapper
, zfs ? null , zfs ? null
, efiSupport ? true , efiSupport ? false
, zfsSupport ? true , zfsSupport ? true
}: }:

View File

@ -1456,8 +1456,11 @@ let
grub2_full = callPackage ../tools/misc/grub/2.0x.nix { }; grub2_full = callPackage ../tools/misc/grub/2.0x.nix { };
grub2_efi = grub2_full.override {
efiSupport = true;
};
grub2_light = grub2_full.override { grub2_light = grub2_full.override {
efiSupport = false;
zfsSupport = false; zfsSupport = false;
}; };