From ba2d84b6cb7480bab725e614060878c6aa74ce7a Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sat, 14 Feb 2026 05:08:12 +0100 Subject: [PATCH] Fix nix e2e to use compose run instead of exec --- tests/e2e/test_bootstrap_nix.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/e2e/test_bootstrap_nix.py b/tests/e2e/test_bootstrap_nix.py index ab44171..f497538 100644 --- a/tests/e2e/test_bootstrap_nix.py +++ b/tests/e2e/test_bootstrap_nix.py @@ -65,7 +65,11 @@ nix run --no-write-lock-file -L .#matomo-bootstrap -- \\ "compose", "-f", "tests/e2e/docker-compose.yml", - "exec", + # Use `run` instead of `exec` to avoid runtime-specific + # `/etc/group` lookup issues seen with nix image + compose exec. + "run", + "--rm", + "--no-deps", "-T", "nix", "sh",