forked from mirrors/nixpkgs
Gummiboot: Switch to zip archive.
For some reason tarballs from cgit have a different hash each time you download.
This commit is contained in:
parent
ac1d2a1221
commit
40e86be5b1
|
@ -1,8 +1,10 @@
|
||||||
{ stdenv, fetchurl, gnu_efi }:
|
{ stdenv, fetchurl, gnu_efi, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "gummiboot-16";
|
name = "gummiboot-16";
|
||||||
|
|
||||||
|
buildInputs = [ unzip ];
|
||||||
|
|
||||||
patches = [ ./no-usr.patch ];
|
patches = [ ./no-usr.patch ];
|
||||||
|
|
||||||
buildFlags = [
|
buildFlags = [
|
||||||
|
@ -12,8 +14,8 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
|
installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.tar.gz";
|
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
|
||||||
sha256 = "1znvbxrhc7pkbhbw9bvg4zhfkp81q7fy4mq2jsw6vimccr7h29a0";
|
sha256 = "0as5svmvsbz08qgbvns77qfb36xi9lx2138ikiinqv6finzm8fi1";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue