Unverified Commit f59f2965 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #301326 from philiptaron/chipsec-elfutils

parents 5c26e13e 03cb76ec
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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; [