aboutsummaryrefslogtreecommitdiff
path: root/tests/referrers.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-27 17:14:41 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-10 18:05:35 +0200
commit2fad86f361d5f6a4896a0364e313f61384945111 (patch)
treec3f119f5260845e5bae15db6c32090521ff3e719 /tests/referrers.sh
parentbe64fbb50129356a03d8b7fe08d3ef3809a4a82a (diff)
Remove $NIX_DB_DIR
This variable has no reason to exist, given $NIX_STATE_DIR.
Diffstat (limited to 'tests/referrers.sh')
-rw-r--r--tests/referrers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/referrers.sh b/tests/referrers.sh
index 5c1ef20cf..8ab8e5ddf 100644
--- a/tests/referrers.sh
+++ b/tests/referrers.sh
@@ -30,7 +30,7 @@ echo "collecting garbage..."
ln -sfn $reference "$NIX_STATE_DIR"/gcroots/ref
nix-store --gc
-if [ -n "$(type -p sqlite3)" -a "$(sqlite3 $NIX_DB_DIR/db.sqlite 'select count(*) from Refs')" -ne 0 ]; then
+if [ -n "$(type -p sqlite3)" -a "$(sqlite3 $NIX_STATE_DIR/db/db.sqlite 'select count(*) from Refs')" -ne 0 ]; then
echo "referrers not cleaned up"
exit 1
fi