summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorAndreas Rammhold <andreas@rammhold.de>2020-01-12 23:28:15 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-01-12 23:28:15 +0100
commit22388a56c2ec4cfea9859a4e85d5cefa9d7d9457 (patch)
treecd6fc8c8656ba5df18c2c6de4c6b4461fc3ae144 /pkgs
parente116b4b331b855653be114b7a26e4a20fdc95b3e (diff)
libvirtd: fix path to ebtables
With the bump of iptables (#75026) ebtables was renamed from `ebtables` to `ebtables-legacy`. libvirtd requires this binary to be availabe to configure the host networking. fixes #75878
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libvirt/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libvirt/default.nix b/pkgs/development/libraries/libvirt/default.nix
index 0556e311736a..44cdd9edf523 100644
--- a/pkgs/development/libraries/libvirt/default.nix
+++ b/pkgs/development/libraries/libvirt/default.nix
@@ -102,6 +102,7 @@ in stdenv.mkDerivation rec {
] ++ optionals stdenv.isLinux [
"QEMU_BRIDGE_HELPER=/run/wrappers/bin/qemu-bridge-helper"
"QEMU_PR_HELPER=/run/libvirt/nix-helpers/qemu-pr-helper"
+ "EBTABLES_PATH=${ebtables}/bin/ebtables-legacy"
"--with-attr"
"--with-apparmor"
"--with-secdriver-apparmor"