diff --git a/tests/e2e/test_nix_build_pkgmgr.py b/tests/e2e/test_nix_build_pkgmgr.py index 472d278..75db3be 100644 --- a/tests/e2e/test_nix_build_pkgmgr.py +++ b/tests/e2e/test_nix_build_pkgmgr.py @@ -69,8 +69,13 @@ class TestNixBuildPkgmgrAllDistros(unittest.TestCase): _run_cmd(["id"]) # --- nix build .#pkgmgr -L --- - proc = _run_cmd(["nix", "build", ".#pkgmgr", "-L"]) - + proc = _run_cmd([ + "nix", + "--option", "sandbox", "false", + "build", ".#pkgmgr", + "-L", + ]) + if proc.returncode != 0: raise AssertionError( "nix build .#pkgmgr -L failed inside the test container.\n"