diff options
author | volth <volth@volth.com> | 2018-03-09 00:11:02 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-03-09 00:11:02 +0000 |
commit | 2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3 (patch) | |
tree | 3a60f559c5b61eeefef472496d3b415c4857c710 /pkgs/development/libraries/libvirt | |
parent | 632e9e62c817bdaa163510429625b5f48b6a18e4 (diff) | |
download | nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar.gz nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar.bz2 nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar.lz nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar.xz nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.tar.zst nixlib-2fa253cba1e7ced28f6dd56c6a3c63bf8e67deb3.zip |
libvirt: fix darwin build
Diffstat (limited to 'pkgs/development/libraries/libvirt')
-rw-r--r-- | pkgs/development/libraries/libvirt/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix index 98af04a5ec21..f6262154df5a 100644 --- a/pkgs/development/libraries/libvirt/default.nix +++ b/pkgs/development/libraries/libvirt/default.nix @@ -48,7 +48,7 @@ in stdenv.mkDerivation rec { preConfigure = '' ${ optionalString (!buildFromTarball) "./bootstrap --no-git --gnulib-srcdir=$(pwd)/.gnulib" } - PATH=${stdenv.lib.makeBinPath [ iproute iptables ebtables lvm2 systemd numad dnsmasq ]}:$PATH + PATH=${stdenv.lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables ebtables lvm2 systemd numad ])}:$PATH # the path to qemu-kvm will be stored in VM's .xml and .save files # do not use "''${qemu_kvm}/bin/qemu-kvm" to avoid bound VMs to particular qemu derivations |