From 2fad86f361d5f6a4896a0364e313f61384945111 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 Jul 2016 17:14:41 +0200 Subject: Remove $NIX_DB_DIR This variable has no reason to exist, given $NIX_STATE_DIR. --- tests/dump-db.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/dump-db.sh') diff --git a/tests/dump-db.sh b/tests/dump-db.sh index 57c8c4016..d6eea42aa 100644 --- a/tests/dump-db.sh +++ b/tests/dump-db.sh @@ -8,8 +8,7 @@ deps="$(nix-store -qR $TEST_ROOT/result)" nix-store --dump-db > $TEST_ROOT/dump -rm -rf $NIX_DB_DIR -mkdir $NIX_DB_DIR +rm -rf $NIX_STATE_DIR/db nix-store --load-db < $TEST_ROOT/dump -- cgit v1.2.3