diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index da83c6139c95..b3c29c267463 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -42,6 +42,7 @@ releaseTools.makeSourceTarball { checkPhase = '' export NIX_DB_DIR=$TMPDIR + export NIX_STATE_DIR=$TMPDIR nix-store --init # Run the regression tests in `lib'.