|
|
|
@ -1,7 +1,7 @@ |
|
|
|
|
{ lib, stdenv, fetchurl, fetchgit |
|
|
|
|
, makeWrapper, autoreconfHook, fetchpatch |
|
|
|
|
, coreutils, libxml2, gnutls, perl, python3, attr, glib, docutils |
|
|
|
|
, iproute, readline, lvm2, util-linux, systemd, libpciaccess, gettext |
|
|
|
|
, iproute2, readline, lvm2, util-linux, systemd, libpciaccess, gettext |
|
|
|
|
, libtasn1, iptables, ebtables, libgcrypt, yajl, pmutils, libcap_ng, libapparmor |
|
|
|
|
, dnsmasq, libnl, libpcap, libxslt, xhtml1, numad, numactl, perlPackages |
|
|
|
|
, curl, libiconv, gmp, zfs, parted, bridge-utils, dmidecode, dbus, libtirpc, rpcsvc-proto, darwin |
|
|
|
@ -85,7 +85,7 @@ in stdenv.mkDerivation rec { |
|
|
|
|
sed -i meson.build -e "s|conf.set_quoted('${var}',.*|conf.set_quoted('${var}','${value}')|" |
|
|
|
|
''; |
|
|
|
|
in '' |
|
|
|
|
PATH=${lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute iptables ebtables-compat lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$PATH |
|
|
|
|
PATH=${lib.makeBinPath ([ dnsmasq ] ++ optionals stdenv.isLinux [ iproute2 iptables ebtables-compat lvm2 systemd numad ] ++ optionals enableIscsi [ openiscsi ])}:$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 |
|
|
|
|
substituteInPlace src/lxc/lxc_conf.c \ |
|
|
|
@ -126,7 +126,7 @@ in stdenv.mkDerivation rec { |
|
|
|
|
|
|
|
|
|
postInstall = let |
|
|
|
|
# Keep the legacy iptables binary for now for backwards compatibility (comment on #109332) |
|
|
|
|
binPath = [ iptables ebtables-compat iproute pmutils numad numactl bridge-utils dmidecode dnsmasq ] ++ optionals enableIscsi [ openiscsi ]; |
|
|
|
|
binPath = [ iptables ebtables-compat iproute2 pmutils numad numactl bridge-utils dmidecode dnsmasq ] ++ optionals enableIscsi [ openiscsi ]; |
|
|
|
|
in '' |
|
|
|
|
substituteInPlace $out/libexec/libvirt-guests.sh \ |
|
|
|
|
--replace 'ON_BOOT="start"' 'ON_BOOT=''${ON_BOOT:-start}' \ |
|
|
|
|