From 891a1cd5b1d205457c571fd5cea61bffe9f204c0 Mon Sep 17 00:00:00 2001 From: atlas Date: Thu, 19 Nov 2026 10:31:49 +0100 Subject: [PATCH] antispoof vm test: nft is on the host's PATH --- nix/vm-tests/hive-egress-antispoof.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nix/vm-tests/hive-egress-antispoof.nix b/nix/vm-tests/hive-egress-antispoof.nix index 93e82521d..7e81b3dfc 100644 --- a/nix/vm-tests/hive-egress-antispoof.nix +++ b/nix/vm-tests/hive-egress-antispoof.nix @@ -154,7 +154,11 @@ pkgs.testers.runNixOSTest { wants = [ "network-addresses-${bridge}.service" ]; after = [ "network-addresses-${bridge}.service" ]; }; - environment.systemPackages = [ pkgs.socat ]; + # `nft` for the test's own reads of the tables; the units run it by store path. + environment.systemPackages = [ + pkgs.socat + pkgs.nftables + ]; containers.a = container; containers.b = container;