Don't set $NIX_DB_DIR
This variable was removed in 2016.
This commit is contained in:
parent
63b8d53640
commit
2d50c7c08e
@ -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
|
||||
|
@ -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 "")
|
||||
|
@ -7,7 +7,6 @@ runCommand "nixpkgs-metrics"
|
||||
requiredSystemFeatures = [ "benchmark" ];
|
||||
}
|
||||
''
|
||||
export NIX_DB_DIR=$TMPDIR
|
||||
export NIX_STATE_DIR=$TMPDIR
|
||||
nix-store --init
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user