efivar: fix build after #15449
I don't know why it matters here; the error was: linux.c:25:24: fatal error: linux/nvme.h: No such file or directory
This commit is contained in:
parent
49cf9b902a
commit
21d09bcb71
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, popt }:
|
{ stdenv, fetchFromGitHub, pkgconfig, popt, linuxHeaders }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "efivar-${version}";
|
name = "efivar-${version}";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ popt ];
|
buildInputs = [ popt linuxHeaders ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/Makefile --replace "-static" ""
|
substituteInPlace src/Makefile --replace "-static" ""
|
||||||
|
@ -1398,7 +1398,9 @@ in
|
|||||||
|
|
||||||
efibootmgr = callPackage ../tools/system/efibootmgr { };
|
efibootmgr = callPackage ../tools/system/efibootmgr { };
|
||||||
|
|
||||||
efivar = callPackage ../tools/system/efivar { };
|
efivar = callPackage ../tools/system/efivar {
|
||||||
|
linuxHeaders = linuxHeaders_3_18;
|
||||||
|
};
|
||||||
|
|
||||||
evemu = callPackage ../tools/system/evemu { };
|
evemu = callPackage ../tools/system/evemu { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user