Merge pull request #301326 from philiptaron/chipsec-elfutils

This commit is contained in:
Sandro 2024-04-11 15:54:14 +02:00 committed by GitHub
commit f59f29659e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -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; [