mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
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 {
|
||||
name = "efivar-${version}";
|
||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ popt ];
|
||||
buildInputs = [ popt linuxHeaders ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/Makefile --replace "-static" ""
|
||||
|
@ -1398,7 +1398,9 @@ in
|
||||
|
||||
efibootmgr = callPackage ../tools/system/efibootmgr { };
|
||||
|
||||
efivar = callPackage ../tools/system/efivar { };
|
||||
efivar = callPackage ../tools/system/efivar {
|
||||
linuxHeaders = linuxHeaders_3_18;
|
||||
};
|
||||
|
||||
evemu = callPackage ../tools/system/evemu { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user