forked from lix-project/lix
Add comment regarding the unset of NIX_STORE_DIR
in build-remote.sh and supplementary-groups.sh
This commit is contained in:
parent
84c4e6f0ac
commit
1a13757880
|
@ -1,6 +1,7 @@
|
|||
requireSandboxSupport
|
||||
[[ $busybox =~ busybox ]] || skipTest "no busybox"
|
||||
|
||||
# Avoid store dir being inside sandbox build-dir
|
||||
unset NIX_STORE_DIR
|
||||
unset NIX_STATE_DIR
|
||||
|
||||
|
|
|
@ -5,6 +5,10 @@ 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 <<EOF
|
||||
source common.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue