forked from mirrors/nixpkgs
efivar: patch build system for reproducibility
This commit is contained in:
parent
ce9dadd7d1
commit
f289585d54
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue