chipsec: use elfutils instead of abandoned libelf
This commit is contained in:
parent
67e2bc0371
commit
03cb76ec6b
@ -2,7 +2,7 @@
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, kernel ? null
|
||||
, libelf
|
||||
, elfutils
|
||||
, nasm
|
||||
, python3
|
||||
, withDriver ? false
|
||||
@ -26,8 +26,9 @@ python3.pkgs.buildPythonApplication rec {
|
||||
KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
|
||||
|
||||
nativeBuildInputs = [
|
||||
libelf
|
||||
nasm
|
||||
] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [
|
||||
elfutils
|
||||
] ++ lib.optionals withDriver kernel.moduleBuildDependencies;
|
||||
|
||||
nativeCheckInputs = with python3.pkgs; [
|
||||
|
Loading…
Reference in New Issue
Block a user