Merge pull request #301326 from philiptaron/chipsec-elfutils
This commit is contained in:
commit
f59f29659e
|
@ -2,7 +2,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, kernel ? null
|
, kernel ? null
|
||||||
, libelf
|
, elfutils
|
||||||
, nasm
|
, nasm
|
||||||
, python3
|
, python3
|
||||||
, withDriver ? false
|
, withDriver ? false
|
||||||
|
@ -26,8 +26,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
libelf
|
|
||||||
nasm
|
nasm
|
||||||
|
] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [
|
||||||
|
elfutils
|
||||||
] ++ lib.optionals withDriver kernel.moduleBuildDependencies;
|
] ++ lib.optionals withDriver kernel.moduleBuildDependencies;
|
||||||
|
|
||||||
nativeCheckInputs = with python3.pkgs; [
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
|
|
Loading…
Reference in New Issue
Block a user