chipsec: use elfutils instead of abandoned libelf

+3 -2
+3 -2
pkgs/tools/security/chipsec/default.nix
··· 2 , stdenv 3 , fetchFromGitHub 4 , kernel ? null 5 - , libelf 6 , nasm 7 , python3 8 , withDriver ? false ··· 26 KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; 27 28 nativeBuildInputs = [ 29 - libelf 30 nasm 31 ] ++ lib.optionals withDriver kernel.moduleBuildDependencies; 32 33 nativeCheckInputs = with python3.pkgs; [
··· 2 , stdenv 3 , fetchFromGitHub 4 , kernel ? null 5 + , elfutils 6 , nasm 7 , python3 8 , withDriver ? false ··· 26 KSRC = lib.optionalString withDriver "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; 27 28 nativeBuildInputs = [ 29 nasm 30 + ] ++ lib.optionals (lib.meta.availableOn stdenv.buildPlatform elfutils) [ 31 + elfutils 32 ] ++ lib.optionals withDriver kernel.moduleBuildDependencies; 33 34 nativeCheckInputs = with python3.pkgs; [