summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2022-07-13 19:54:18 +0900
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-08-21 15:52:48 +0000
commit44e7286b891a4f19669031b77697d0ca6e6e2a32 (patch)
tree3a9e583943540fffa881184adda10f0e602026a3
parentbpftrace: remove libelf extraneous dependency (diff)
downloadnixpkgs-origin/backport-181349-to-release-22.05.tar.gz
bpftool: replace libelf with elfutilsorigin/backport-181349-to-release-22.05
libelf is no longer maintained, use elfutils' libelf instead (cherry picked from commit d6d039148d96cd71b58021bc86612f81313da46c)
-rw-r--r--pkgs/os-specific/linux/bpftools/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/bpftools/default.nix b/pkgs/os-specific/linux/bpftools/default.nix
index f2ca8d874714..b4621feeb31f 100644
--- a/pkgs/os-specific/linux/bpftools/default.nix
+++ b/pkgs/os-specific/linux/bpftools/default.nix
@@ -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