diff options
author | William A. Kennington III <william@wkennington.com> | 2014-04-30 18:04:45 -0500 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2014-08-28 13:35:35 -0700 |
commit | 1f460e00efb99a1450f5b5806d68ff6633641ad8 (patch) | |
tree | e3aec32c525dac73f58cbe30d1f8319d62e82fc9 /pkgs/tools/misc/grub | |
parent | 525acb4d4fbfdf1ef18486fba4b2aa673065666a (diff) | |
download | nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar.gz nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar.bz2 nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar.lz nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar.xz nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.tar.zst nixlib-1f460e00efb99a1450f5b5806d68ff6633641ad8.zip |
grub: Build grub2 from git instead of using the unpredictable generated tarball
Diffstat (limited to 'pkgs/tools/misc/grub')
-rw-r--r-- | pkgs/tools/misc/grub/2.0x.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/misc/grub/2.0x.nix b/pkgs/tools/misc/grub/2.0x.nix index 59658e47a08f..04971b68a845 100644 --- a/pkgs/tools/misc/grub/2.0x.nix +++ b/pkgs/tools/misc/grub/2.0x.nix @@ -1,4 +1,4 @@ -{ fetchurl, stdenv, autogen, flex, bison, python, autoconf, automake +{ stdenv, fetchurl, fetchgit, autogen, flex, bison, python, autoconf, automake , gettext, ncurses, libusb, freetype, qemu, devicemapper , linuxPackages ? null , EFIsupport ? false @@ -23,9 +23,10 @@ in stdenv.mkDerivation rec { name = "${prefix}-${version}"; - src = fetchurl { - url = "http://git.savannah.gnu.org/cgit/grub.git/snapshot/grub-2.02-beta2.tar.gz"; - sha256 = "1n2l7k76lqqaavz12615vx5kca0kl8g13bkimc7xsd9s7c1ir5lr"; + src = fetchgit { + url = "git://git.sv.gnu.org/grub.git"; + rev = "refs/tags/grub-2.02-beta2"; + sha256 = "157bknkcxibmvq19pagphlwfxd9xny7002gcanfzhjzcjpfz4scy"; }; nativeBuildInputs = [ autogen flex bison python autoconf automake ]; |