Skip to content

Commit

Permalink
Add unset to NIX_STORE_DIR for local-overlay tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cidkidnix committed Jul 13, 2023
1 parent c26fc96 commit 83cfa82
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/overlay-local-store/build-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ set -x

source common.sh

# Avoid store dir being inside sandbox build-dir
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs

initLowerStore
Expand Down
4 changes: 4 additions & 0 deletions tests/overlay-local-store/check-post-init-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ set -x

source common.sh

# Avoid store dir being inside sandbox build-dir
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs

initLowerStore
Expand Down
4 changes: 4 additions & 0 deletions tests/overlay-local-store/redundant-add-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ set -x

source common.sh

# Avoid store dir being inside sandbox build-dir
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs

initLowerStore
Expand Down

0 comments on commit 83cfa82

Please sign in to comment.