From d6d039148d96cd71b58021bc86612f81313da46c Mon Sep 17 00:00:00 2001 From: Dominique Martinet Date: Wed, 13 Jul 2022 19:54:18 +0900 Subject: [PATCH] bpftool: replace libelf with elfutils libelf is no longer maintained, use elfutils' libelf instead --- pkgs/os-specific/linux/bpftools/default.nix | 4 ++-- 1 file 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