iproute: allow to load ebpf programs (#44598)
...via passing libelf as a buildinput.
This commit is contained in:
parent
f0fcbafa98
commit
82f338b837
@ -1,4 +1,6 @@
|
||||
{ fetchurl, stdenv, config, flex, bash, bison, db, iptables, pkgconfig }:
|
||||
{ fetchurl, stdenv, config, flex, bash, bison, db, iptables, pkgconfig
|
||||
, libelf
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iproute2-${version}";
|
||||
@ -35,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
"CONFDIR=$(out)/etc/iproute2"
|
||||
];
|
||||
|
||||
buildInputs = [ db iptables ];
|
||||
buildInputs = [ db iptables libelf ];
|
||||
nativeBuildInputs = [ bison flex pkgconfig ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user