bpftool: replace libelf with elfutils

libelf is no longer maintained, use elfutils' libelf instead
This commit is contained in:
Dominique Martinet 2022-07-13 19:54:18 +09:00
parent 3762c001fa
commit d6d039148d

View File

@ -1,5 +1,5 @@
{ lib, stdenv
, libopcodes, libbfd, libelf, readline
, libopcodes, libbfd, elfutils, readline
, linuxPackages_latest, zlib
, python3, bison, flex
}:
@ -9,7 +9,7 @@ stdenv.mkDerivation {
inherit (linuxPackages_latest.kernel) version src;
nativeBuildInputs = [ python3 bison flex ];
buildInputs = [ libopcodes libbfd libelf zlib readline ];
buildInputs = [ libopcodes libbfd elfutils zlib readline ];
preConfigure = ''
patchShebangs scripts/bpf_doc.py