1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

Merge pull request #66548 from delroth/efivar-r13y

efivar: patch build system for reproducibility
This commit is contained in:
Marek Mahut 2019-08-13 10:37:29 +02:00 committed by GitHub
commit 2871348a6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];