iproute: allow to load ebpf programs (#44598)

...via passing libelf as a buildinput.
This commit is contained in:
Matthieu Coudron 2018-08-08 06:01:07 +09:00 committed by xeji
parent f0fcbafa98
commit 82f338b837

View File

@ -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;