libvirtd: add missing dependency on dnsmasq
Fixes this: Nov 09 16:13:27 nixos-laptop systemd[1]: Starting Libvirt Virtual Machine Management Daemon... Nov 09 16:13:28 nixos-laptop .libvirtd-wrapp[17183]: libvirt version: 1.1.4 Nov 09 16:13:28 nixos-laptop .libvirtd-wrapp[17183]: Cannot check dnsmasq binary dnsmasq: No such file or directory Nov 09 16:13:28 nixos-laptop .libvirtd-wrapp[17183]: Cannot check dnsmasq binary dnsmasq: No such file or directory Nov 09 16:13:28 nixos-laptop systemd[1]: Started Libvirt Virtual Machine Management Daemon.
This commit is contained in:
parent
80e2706e51
commit
edfd4cbb03
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
|
{ stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
|
||||||
, iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext
|
, iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext
|
||||||
, libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng
|
, libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng
|
||||||
|
, dnsmasq
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let version = "1.1.4"; in
|
let version = "1.1.4"; in
|
||||||
|
@ -21,7 +22,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:$PATH
|
PATH=${iproute}/sbin:${iptables}/sbin:${ebtables}/sbin:${lvm2}/sbin:${udev}/sbin:${dnsmasq}/bin:$PATH
|
||||||
patchShebangs . # fixes /usr/bin/python references
|
patchShebangs . # fixes /usr/bin/python references
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue