From adb28d4a26598fbc342dd18d2dd42621953c7b6d Mon Sep 17 00:00:00 2001 From: cidkidnix Date: Thu, 13 Jul 2023 14:23:24 -0500 Subject: [PATCH] move unset NIX_STORE_DIR in supplementary-groups.sh to inside the unshare --- tests/supplementary-groups.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/supplementary-groups.sh b/tests/supplementary-groups.sh index 474ba7503..d18fb2414 100644 --- a/tests/supplementary-groups.sh +++ b/tests/supplementary-groups.sh @@ -5,13 +5,13 @@ requireSandboxSupport if ! command -p -v unshare; then skipTest "Need unshare"; fi needLocalStore "The test uses --store always so we would just be bypassing the daemon" -# Avoid store dir being inside sandbox build-dir -unset NIX_STORE_DIR -unset NIX_STATE_DIR - unshare --mount --map-root-user bash <