summary refs log tree commit diff
path: root/pkgs/development/libraries/libvirt
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2013-11-09 16:11:47 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-11-10 14:00:04 +0100
commitedfd4cbb03d659ab372cbc2ca65c352ae0f56de2 (patch)
tree39133f4ac1b94568e4d99d2613947b77276c5971 /pkgs/development/libraries/libvirt
parent80e2706e51cad94cefa7c020e84455e7664b8602 (diff)
downloadnixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar.gz
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar.bz2
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar.lz
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar.xz
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.tar.zst
nixpkgs-edfd4cbb03d659ab372cbc2ca65c352ae0f56de2.zip
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.
Diffstat (limited to 'pkgs/development/libraries/libvirt')
-rw-r--r--pkgs/development/libraries/libvirt/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix
index 8431b1823e1..40fbbc94afd 100644
--- a/pkgs/development/libraries/libvirt/default.nix
+++ b/pkgs/development/libraries/libvirt/default.nix
@@ -1,6 +1,7 @@
 { stdenv, fetchurl, pkgconfig, libxml2, gnutls, devicemapper, perl, python
 , iproute, iptables, readline, lvm2, utillinux, udev, libpciaccess, gettext
 , libtasn1, ebtables, libgcrypt, yajl, makeWrapper, pmutils, libcap_ng
+, dnsmasq
 }:
 
 let version = "1.1.4"; in
@@ -21,7 +22,7 @@ stdenv.mkDerivation {
 
   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
     '';