Skip to content

Commit d9dabb0

Browse files
KaiHabjornfor
authored andcommittedSep 25, 2017
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. (cherry picked from commit 32e4e2c)
1 parent e075c65 commit d9dabb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎pkgs/development/libraries/libvirt/default.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
, iproute, iptables, readline, lvm2, utillinux, systemd, libpciaccess, gettext
55
, libtasn1, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor
66
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages
7-
, curl, libiconv, gmp, xen, zfs, parted
7+
, curl, libiconv, gmp, xen, zfs, parted, qemu
88
}:
99

1010
with stdenv.lib;
@@ -89,7 +89,7 @@ stdenv.mkDerivation rec {
8989
substituteInPlace $out/lib/systemd/system/libvirtd.service --replace /bin/kill ${coreutils}/bin/kill
9090
rm $out/lib/systemd/system/{virtlockd,virtlogd}.*
9191
wrapProgram $out/sbin/libvirtd \
92-
--prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl ]}
92+
--prefix PATH : ${makeBinPath [ iptables iproute pmutils numad numactl qemu ]}
9393
'';
9494

9595
enableParallelBuilding = true;

0 commit comments

Comments
 (0)
Please sign in to comment.