1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

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