chipsec: use elfutils instead of abandoned libelf

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