tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
libvirt: build with attr and apparmor
Franz Pletz
9 years ago
ddb60881
160fd723
+11
-6
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
libvirt
default.nix
libvirt-glib
default.nix
+4
-2
pkgs/development/libraries/libvirt-glib/default.nix
···
1
1
{ stdenv, fetchurl, pkgconfig, libvirt, glib, libxml2, intltool, libtool, yajl
2
2
, nettle, libgcrypt, pythonPackages, gobjectIntrospection, libcap_ng, numactl
3
3
-
, xen
3
3
+
, xen, libapparmor
4
4
}:
5
5
6
6
let
···
15
15
16
16
buildInputs = [
17
17
pkgconfig libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
18
18
-
python pygobject2 gobjectIntrospection libcap_ng numactl xen
18
18
+
python pygobject2 gobjectIntrospection libcap_ng numactl xen libapparmor
19
19
];
20
20
+
21
21
+
enableParallelBuilding = true;
20
22
21
23
meta = with stdenv.lib; {
22
24
description = "Library for working with virtual machines";
+7
-4
pkgs/development/libraries/libvirt/default.nix
···
1
1
{ stdenv, fetchurl, fetchpatch
2
2
, pkgconfig, makeWrapper
3
3
-
, libxml2, gnutls, devicemapper, perl, python2
3
3
+
, libxml2, gnutls, devicemapper, perl, python2, attr
4
4
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
5
5
-
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng
5
5
+
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
6
6
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
7
7
, curl, libiconv, gmp, xen, zfs
8
8
}:
···
24
24
nativeBuildInputs = [ makeWrapper pkgconfig ];
25
25
buildInputs = [
26
26
libxml2 gnutls perl python2 readline
27
27
-
gettext libtasn1 libgcrypt yajl
27
27
+
gettext libtasn1 libgcrypt yajl attr
28
28
libxslt xhtml1 perlPackages.XMLXPath curl libpcap
29
29
] ++ optionals stdenv.isLinux [
30
30
libpciaccess devicemapper lvm2 utillinux systemd libcap_ng
31
31
-
libnl numad numactl xen zfs
31
31
+
libnl numad numactl xen zfs libapparmor
32
32
] ++ optionals stdenv.isDarwin [
33
33
libiconv gmp
34
34
];
···
52
52
"--with-esx"
53
53
"--with-remote"
54
54
] ++ optionals stdenv.isLinux [
55
55
+
"--with-attr"
56
56
+
"--with-apparmor"
57
57
+
"--with-secdriver-apparmor"
55
58
"--with-numad"
56
59
"--with-macvtap"
57
60
"--with-virtualport"