summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-02-02 19:38:56 -0500
committerShea Levy <shea@shealevy.com>2013-02-02 19:39:11 -0500
commit40e86be5b18d501806de99464baf8697877d91bd (patch)
treeafe0d40d5cadd976b1ba6fae5c088e442e1b0277 /pkgs
parentac1d2a1221a873dfa105c178225e8a7643ecc794 (diff)
Gummiboot: Switch to zip archive.
For some reason tarballs from cgit have a different hash each time you download.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/misc/gummiboot/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/misc/gummiboot/default.nix b/pkgs/tools/misc/gummiboot/default.nix
index a59854c82d2c9..341939ea40f61 100644
--- a/pkgs/tools/misc/gummiboot/default.nix
+++ b/pkgs/tools/misc/gummiboot/default.nix
@@ -1,8 +1,10 @@
-{ stdenv, fetchurl, gnu_efi }:
+{ stdenv, fetchurl, gnu_efi, unzip }:
 
 stdenv.mkDerivation rec {
   name = "gummiboot-16";
 
+  buildInputs = [ unzip ];
+
   patches = [ ./no-usr.patch ];
 
   buildFlags = [
@@ -12,8 +14,8 @@ stdenv.mkDerivation rec {
   installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
 
   src = fetchurl {
-    url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.tar.gz";
-    sha256 = "1znvbxrhc7pkbhbw9bvg4zhfkp81q7fy4mq2jsw6vimccr7h29a0";
+    url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
+    sha256 = "0as5svmvsbz08qgbvns77qfb36xi9lx2138ikiinqv6finzm8fi1";
   };
 
   meta = {