forked from mirrors/nixpkgs
dpdk: add dependencies for vm_power_mgr example
This commit is contained in:
parent
05cdb0f621
commit
e54ef8bb16
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue