Remove $NIX_DB_DIR
This variable has no reason to exist, given $NIX_STATE_DIR.
This commit is contained in:
parent
be64fbb501
commit
2fad86f361
12 changed files with 11 additions and 30 deletions
|
|
@ -1,7 +1,5 @@
|
|||
source common.sh
|
||||
|
||||
echo "NIX_STORE_DIR=$NIX_STORE_DIR NIX_DB_DIR=$NIX_DB_DIR"
|
||||
|
||||
test -n "$TEST_ROOT"
|
||||
if test -d "$TEST_ROOT"; then
|
||||
chmod -R u+w "$TEST_ROOT"
|
||||
|
|
@ -13,7 +11,6 @@ mkdir "$NIX_STORE_DIR"
|
|||
mkdir "$NIX_LOCALSTATE_DIR"
|
||||
mkdir -p "$NIX_LOG_DIR"/drvs
|
||||
mkdir "$NIX_STATE_DIR"
|
||||
mkdir "$NIX_DB_DIR"
|
||||
mkdir "$NIX_CONF_DIR"
|
||||
|
||||
cat > "$NIX_CONF_DIR"/nix.conf <<EOF
|
||||
|
|
@ -28,6 +25,6 @@ EOF
|
|||
nix-store --init
|
||||
|
||||
# Did anything happen?
|
||||
test -e "$NIX_DB_DIR"/db.sqlite
|
||||
test -e "$NIX_STATE_DIR"/db/db.sqlite
|
||||
|
||||
echo 'Hello World' > ./dummy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue