From b4ce4e0d90e95fc4840275284807f8e84b30f979 Mon Sep 17 00:00:00 2001 From: atlas Date: Wed, 28 Oct 2026 20:27:18 +0100 Subject: [PATCH] put hello and tree in the agent-ephemeral-rootfs vm closure --- nix/vm-tests/agent-ephemeral-rootfs.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/vm-tests/agent-ephemeral-rootfs.nix b/nix/vm-tests/agent-ephemeral-rootfs.nix index c07451ad..44fcccf1 100644 --- a/nix/vm-tests/agent-ephemeral-rootfs.nix +++ b/nix/vm-tests/agent-ephemeral-rootfs.nix @@ -72,6 +72,12 @@ pkgs.testers.runNixOSTest { ../host-modules/hive-priv.nix ]; virtualisation.memorySize = 2048; + # The script `nix-env -i`s these store paths inside the container, which + # shares the host's store; the VM has no substituter to fetch them. + virtualisation.additionalPaths = [ + pkgs.hello + pkgs.tree + ]; # The agent bridge hive-priv names in the container's conf. networking.bridges.${bridge}.interfaces = [ ]; networking.interfaces.${bridge}.ipv4.addresses = [