3
0
Fork 0
forked from mirrors/nixpkgs

efivar: patch build system for reproducibility

This commit is contained in:
Pierre Bourdon 2019-08-13 05:21:31 +02:00
parent ce9dadd7d1
commit f289585d54
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -1,4 +1,4 @@
{ stdenv, buildPackages, fetchFromGitHub, pkgconfig, popt }:
{ stdenv, buildPackages, fetchFromGitHub, fetchurl, pkgconfig, popt }:
stdenv.mkDerivation rec {
name = "efivar-${version}";
@ -12,6 +12,13 @@ stdenv.mkDerivation rec {
rev = version;
sha256 = "1z2dw5x74wgvqgd8jvibfff0qhwkc53kxg54v12pzymyibagwf09";
};
patches = [
(fetchurl {
name = "r13y.patch";
url = "https://patch-diff.githubusercontent.com/raw/rhboot/efivar/pull/133.patch";
sha256 = "038cwldb8sqnal5l6mhys92cqv8x7j8rgsl8i4fiv9ih9znw26i6";
})
];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ popt ];