forked from mirrors/nixpkgs
libvirt: Add qemu to runtime closure
The program `qemu-img` is needed during creation of virtual machines with qcow2 images. Otherwise creation of such VMs (e.g. with virt-manager) are failing.
This commit is contained in:
parent
0353ddc5c5
commit
32e4e2c47b
|
@ -4,7 +4,7 @@
|
|||
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
|
||||
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
|
||||
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
|
||||
, curl, libiconv, gmp, xen, zfs, parted
|
||||
, curl, libiconv, gmp, xen, zfs, parted, qemu
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
|
@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
|
|||
substituteInPlace $out/lib/systemd/system/libvirtd.service --replace /bin/kill ${coreutils}/bin/kill
|
||||
rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
|
||||
wrapProgram $out/sbin/libvirtd \
|
||||
--prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl ]}
|
||||
--prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl qemu ]}
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue