diff --git a/pkgs/tools/misc/gummiboot/default.nix b/pkgs/tools/misc/gummiboot/default.nix index a59854c82d2c..341939ea40f6 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 = {