efivar: fix build against linux 4.4 headers
This commit is contained in:
parent
0a8d1627ec
commit
a11b0bc515
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
|
{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, popt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efivar-${version}";
|
name = "efivar-${version}";
|
||||||
@ -11,6 +11,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1fdqi053v335pjwj1i3yi9f1kasdzg3agfcp36bxsbhqjp4imlid";
|
sha256 = "1fdqi053v335pjwj1i3yi9f1kasdzg3agfcp36bxsbhqjp4imlid";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# fix problem with linux 4.4 headers https://github.com/rhinstaller/efivar/issues/37
|
||||||
|
(fetchurl {
|
||||||
|
url = https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/efivar/files/0.21-nvme_ioctl.h.patch;
|
||||||
|
sha256 = "1rjjpd4s1xdsnhq974j5wnwav8pfvd0jbvhk8a9wc2w029fvj7zp";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ popt ];
|
buildInputs = [ popt ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user