bpftool: replace libelf with elfutils
libelf is no longer maintained, use elfutils' libelf instead
This commit is contained in:
parent
3762c001fa
commit
d6d039148d
@ -1,5 +1,5 @@
|
|||||||
{ lib, stdenv
|
{ lib, stdenv
|
||||||
, libopcodes, libbfd, libelf, readline
|
, libopcodes, libbfd, elfutils, readline
|
||||||
, linuxPackages_latest, zlib
|
, linuxPackages_latest, zlib
|
||||||
, python3, bison, flex
|
, python3, bison, flex
|
||||||
}:
|
}:
|
||||||
@ -9,7 +9,7 @@ stdenv.mkDerivation {
|
|||||||
inherit (linuxPackages_latest.kernel) version src;
|
inherit (linuxPackages_latest.kernel) version src;
|
||||||
|
|
||||||
nativeBuildInputs = [ python3 bison flex ];
|
nativeBuildInputs = [ python3 bison flex ];
|
||||||
buildInputs = [ libopcodes libbfd libelf zlib readline ];
|
buildInputs = [ libopcodes libbfd elfutils zlib readline ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
patchShebangs scripts/bpf_doc.py
|
patchShebangs scripts/bpf_doc.py
|
||||||
|
Loading…
Reference in New Issue
Block a user