diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-08-24 18:50:20 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-08-24 18:50:20 +0200 |
commit | 2d50c7c08e4833f49eb5e2e9c783e631bb7eaccf (patch) | |
tree | 9c5c7d2ba4de34f060751f32b3cf7351b94b6d97 | |
parent | 63b8d53640ca33f8e7ffe9f20e84a9dbf9638806 (diff) |
Don't set $NIX_DB_DIR
This variable was removed in 2016.
-rw-r--r-- | lib/tests/release.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 1 | ||||
-rw-r--r-- | pkgs/top-level/metrics.nix | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/lib/tests/release.nix b/lib/tests/release.nix index eebee1b49bc8..800d8a65c14f 100644 --- a/lib/tests/release.nix +++ b/lib/tests/release.nix @@ -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 diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 5e307305af58..f65829e29cab 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.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 "") diff --git a/pkgs/top-level/metrics.nix b/pkgs/top-level/metrics.nix index 244b0ce7a664..2bfcb9d5d80a 100644 --- a/pkgs/top-level/metrics.nix +++ b/pkgs/top-level/metrics.nix @@ -7,7 +7,6 @@ runCommand "nixpkgs-metrics" requiredSystemFeatures = [ "benchmark" ]; } '' - export NIX_DB_DIR=$TMPDIR export NIX_STATE_DIR=$TMPDIR nix-store --init |