diff options
author | Pierre Bourdon <delroth@gmail.com> | 2019-08-13 05:21:31 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2019-08-13 05:21:54 +0200 |
commit | f289585d5404895be13510a1c4cd8b8ac62f6063 (patch) | |
tree | 3caf30d07b0ea827a3bad1610b0367459104f86d /pkgs/tools/system | |
parent | ce9dadd7d1dea4410b4381f2439a7d1358a15ecc (diff) |
efivar: patch build system for reproducibility
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/efivar/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/system/efivar/default.nix b/pkgs/tools/system/efivar/default.nix index e77d44875820..5c9b0292e5c0 100644 --- a/pkgs/tools/system/efivar/default.nix +++ b/pkgs/tools/system/efivar/default.nix @@ -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 ]; |