3
0
Fork 0
forked from mirrors/nixpkgs

dpdk: add dependencies for vm_power_mgr example

This commit is contained in:
Ruslan Babayev 2016-06-01 16:30:25 -07:00
parent 05cdb0f621
commit e54ef8bb16

View file

@ -1,4 +1,4 @@
{ stdenv, lib, kernel, fetchurl }:
{ stdenv, lib, kernel, fetchurl, pkgconfig, libvirt }:
assert lib.versionAtLeast kernel.version "3.18";
@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "0yrz3nnhv65v2jzz726bjswkn8ffqc1sr699qypc9m78qrdljcfn";
};
buildInputs = [ pkgconfig libvirt ];
RTE_KERNELDIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
RTE_TARGET = "x86_64-native-linuxapp-gcc";