libvirt: build with attr and apparmor
This commit is contained in:
parent
160fd7231e
commit
ddb608814a
@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libvirt, glib, libxml2, intltool, libtool, yajl
|
||||
, nettle, libgcrypt, pythonPackages, gobjectIntrospection, libcap_ng, numactl
|
||||
, xen
|
||||
, xen, libapparmor
|
||||
}:
|
||||
|
||||
let
|
||||
@ -15,9 +15,11 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl xen
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl xen libapparmor
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Library for working with virtual machines";
|
||||
longDescription = ''
|
||||
|
@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, fetchpatch
|
||||
, pkgconfig, makeWrapper
|
||||
, libxml2, gnutls, devicemapper, perl, python2
|
||||
, libxml2, gnutls, devicemapper, perl, python2, attr
|
||||
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
|
||||
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng
|
||||
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
|
||||
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
|
||||
, curl, libiconv, gmp, xen, zfs
|
||||
}:
|
||||
@ -24,11 +24,11 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||
buildInputs = [
|
||||
libxml2 gnutls perl python2 readline
|
||||
gettext libtasn1 libgcrypt yajl
|
||||
gettext libtasn1 libgcrypt yajl attr
|
||||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap
|
||||
] ++ optionals stdenv.isLinux [
|
||||
libpciaccess devicemapper lvm2 utillinux systemd libcap_ng
|
||||
libnl numad numactl xen zfs
|
||||
libnl numad numactl xen zfs libapparmor
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
libiconv gmp
|
||||
];
|
||||
@ -52,6 +52,9 @@ stdenv.mkDerivation rec {
|
||||
"--with-esx"
|
||||
"--with-remote"
|
||||
] ++ optionals stdenv.isLinux [
|
||||
"--with-attr"
|
||||
"--with-apparmor"
|
||||
"--with-secdriver-apparmor"
|
||||
"--with-numad"
|
||||
"--with-macvtap"
|
||||
"--with-virtualport"
|
||||
|
Loading…
Reference in New Issue
Block a user