Don't set $NIX_DB_DIR

This variable was removed in 2016.
This commit is contained in:
Eelco Dolstra 2020-08-24 18:50:20 +02:00
parent 63b8d53640
commit 2d50c7c08e
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
3 changed files with 0 additions and 3 deletions

View File

@ -17,7 +17,6 @@ pkgs.runCommandNoCC "nixpkgs-lib-tests" {
export TEST_ROOT=$(pwd)/test-tmp
export NIX_BUILD_HOOK=
export NIX_CONF_DIR=$TEST_ROOT/etc
export NIX_DB_DIR=$TEST_ROOT/db
export NIX_LOCALSTATE_DIR=$TEST_ROOT/var
export NIX_LOG_DIR=$TEST_ROOT/var/log/nix
export NIX_STATE_DIR=$TEST_ROOT/var/nix

View File

@ -40,7 +40,6 @@ releaseTools.sourceTarball {
checkPhase = ''
set -o pipefail
export NIX_DB_DIR=$TMPDIR
export NIX_STATE_DIR=$TMPDIR
export NIX_PATH=nixpkgs=$TMPDIR/barf.nix
opts=(--option build-users-group "")

View File

@ -7,7 +7,6 @@ runCommand "nixpkgs-metrics"
requiredSystemFeatures = [ "benchmark" ];
}
''
export NIX_DB_DIR=$TMPDIR
export NIX_STATE_DIR=$TMPDIR
nix-store --init