git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #66548 from delroth/efivar-r13y

efivar: patch build system for reproducibility

commit2871348a6f96e855102a8c33ed92b7d952d87ebf authorMarek Mahut <marek.mahut@gmail.com> dateTue 13 Aug 2019, 10:37 (7 years ago) parent1d37178f289585
1 file changed+8−1
pkgs/tools/system/efivar/default.nix+8−1
pkgs/tools/system/efivar/default.nix+8−1
@@ -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 ];