From c30d4e07c5e4c0e39da1da56aa7ddfaa59674691 Mon Sep 17 00:00:00 2001 From: Alexei Robyn Date: Tue, 12 Jul 2016 16:34:46 +1000 Subject: [PATCH] libvirt: revert to full systemd dependency Fixes issue with virt-manager failing to list 'USB Host Devices' and 'PCI Host Devices' with the error "Connection does not support host device enumeration". --- pkgs/development/libraries/libvirt/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 300f50d90443..12b4459cbca0 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -24,14 +24,14 @@ stdenv.mkDerivation rec { gettext libtasn1 libgcrypt yajl libxslt xhtml1 perlPackages.XMLXPath curl libpcap ] ++ stdenv.lib.optionals stdenv.isLinux [ - libpciaccess devicemapper lvm2 utillinux systemd.udev.lib libcap_ng + libpciaccess devicemapper lvm2 utillinux systemd libcap_ng libnl numad numactl xen zfs ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv gmp ]; preConfigure = stdenv.lib.optionalString stdenv.isLinux '' - PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${systemd.udev.bin}/bin:$PATH + PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${systemd}/bin:$PATH substituteInPlace configure \ --replace 'as_dummy="/bin:/usr/bin:/usr/sbin"' 'as_dummy="${numad}/bin"' '' + ''