@@ -1,4 +1,4 @@
1−{ stdenv, buildPackages, fetchFromGitHub, pkgconfig, popt }:
1+{ stdenv, buildPackages, fetchFromGitHub, fetchurl, pkgconfig, popt }:
22
33stdenv.mkDerivation rec {
44 name = "efivar-${version}";
@@ -12,6 +12,13 @@ stdenv.mkDerivation rec {
1212 rev = version;
1313 sha256 = "1z2dw5x74wgvqgd8jvibfff0qhwkc53kxg54v12pzymyibagwf09";
1414 };
15+ patches = [
16+ (fetchurl {
17+ name = "r13y.patch";
18+ url = "https://patch-diff.githubusercontent.com/raw/rhboot/efivar/pull/133.patch";
19+ sha256 = "038cwldb8sqnal5l6mhys92cqv8x7j8rgsl8i4fiv9ih9znw26i6";
20+ })
21+ ];
1522
1623 nativeBuildInputs = [ pkgconfig ];
1724 buildInputs = [ popt ];