about summary refs log tree commit diff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 9766642b0011..0f55d6cf896e 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -1,5 +1,8 @@
 set -e
 
+# Maybe the build directory is symlinked.
+export NIX_IGNORE_SYMLINK_STORE=1
+
 export TEST_ROOT=$(pwd)/test-tmp
 export NIX_STORE_DIR=$TEST_ROOT/store
 export NIX_DATA_DIR=$TEST_ROOT/data