libvirt: remove xen dependency on aarch64
This commit is contained in:
parent
73b65551f4
commit
750a7c677b
|
@ -25,8 +25,12 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
glib libxml2 gtk3 gtkvnc gmp libgcrypt gnupg cyrus_sasl shared_mime_info
|
||||
libvirt yajl gsettings_desktop_schemas makeWrapper libvirt-glib
|
||||
libcap_ng numactl libapparmor xen
|
||||
] ++ optionals spiceSupport [ spice_gtk spice_protocol libcap gdbm ];
|
||||
libcap_ng numactl libapparmor
|
||||
] ++ optionals stdenv.isx86_64 [
|
||||
xen
|
||||
] ++ optionals spiceSupport [
|
||||
spice_gtk spice_protocol libcap gdbm
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
for f in "$out"/bin/*; do
|
||||
|
|
|
@ -16,7 +16,9 @@ in stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [
|
||||
libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl xen libapparmor
|
||||
python pygobject2 gobjectIntrospection libcap_ng numactl libapparmor
|
||||
] ++ stdenv.lib.optionals stdenv.isx86_64 [
|
||||
xen
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
|
@ -27,9 +27,11 @@ stdenv.mkDerivation rec {
|
|||
libxslt xhtml1 perlPackages.XMLXPath curl libpcap
|
||||
] ++ optionals stdenv.isLinux [
|
||||
libpciaccess devicemapper lvm2 utillinux systemd libnl numad zfs
|
||||
libapparmor libcap_ng numactl xen attr parted
|
||||
libapparmor libcap_ng numactl attr parted
|
||||
] ++ optionals (stdenv.isLinux && stdenv.isx86_64) [
|
||||
xen
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
libiconv gmp
|
||||
libiconv gmp
|
||||
];
|
||||
|
||||
preConfigure = optionalString stdenv.isLinux ''
|
||||
|
|
Loading…
Reference in a new issue