linuxPackages.dpdk: needs libelf from kernel.moduleBuildDependencies

This commit is contained in:
adisbladis 2018-01-08 05:27:44 +08:00
parent 470ba2f5da
commit 0d3e23fa32
No known key found for this signature in database
GPG Key ID: ED58F95069B004F5

View File

@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "1w3nx5cqf8z600bdlbwz7brmdb5yn233qrqvv24kbmmxhbwp7qld";
};
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig ] ++ kernel.moduleBuildDependencies;
buildInputs = [ libvirt ];
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";