mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
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 New Issue
Block a user