diff options
author | William A. Kennington III <william@wkennington.com> | 2015-02-07 15:18:37 -0800 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-02-07 15:18:37 -0800 |
commit | ef80d73e6a958046135c18a9c4a29cd756643b4a (patch) | |
tree | 4474fc801955cef787d17df49d8087b7eb1bdd64 /pkgs/tools/misc/grub | |
parent | 0fa4c9d6d3bd453634d02438b60daebeeaa02a7b (diff) | |
download | nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar.gz nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar.bz2 nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar.lz nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar.xz nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.tar.zst nixlib-ef80d73e6a958046135c18a9c4a29cd756643b4a.zip |
grub: Enable zfs and efi by default since it's cheap to support
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r-- | pkgs/tools/misc/grub/2.0x.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 4ba1a949c457..b261dc393401 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -1,8 +1,8 @@ { stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake , gettext, ncurses, libusb, freetype, qemu, devicemapper , zfs ? null -, efiSupport ? false -, zfsSupport ? false +, efiSupport ? true +, zfsSupport ? true }: with stdenv.lib; @@ -14,8 +14,6 @@ let canEfi = any (system: stdenv.system == system) (mapAttrsToList (name: _: name) efiSystems); - prefix = "grub${if efiSupport then "-efi" else ""}${optionalString zfsSupport "-zfs"}"; - version = "2.02-git-1de3a4"; unifont_bdf = fetchurl { @@ -35,7 +33,7 @@ assert efiSupport -> canEfi; assert zfsSupport -> zfs != null; stdenv.mkDerivation rec { - name = "${prefix}-${version}"; + name = "grub-${version}"; src = fetchgit { url = "git://git.savannah.gnu.org/grub.git"; |