diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-13 19:10:57 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-05-13 19:10:57 +0000 |
commit | 069604730babf554045a3f2ab6a9b8f7d6246751 (patch) | |
tree | 03a003e8f5a46140d284f293c608daaf6658bb09 /pkgs/top-level/make-tarball.nix | |
parent | 500c46b56bbaa3abdf75867cf7ea7543c00f4e15 (diff) |
* Work around some problems in tarball checks. Nix wants to open the
DB even in read-only mode. Should probably fix that. Also, "or" no
longer works like this because it's a keyword now.
svn path=/nixpkgs/trunk/; revision=34079
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r-- | pkgs/top-level/make-tarball.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/top-level/make-tarball.nix b/pkgs/top-level/make-tarball.nix index 9f97b49ebb08..da83c6139c95 100644 --- a/pkgs/top-level/make-tarball.nix +++ b/pkgs/top-level/make-tarball.nix @@ -41,6 +41,9 @@ releaseTools.makeSourceTarball { doCheck = true; checkPhase = '' + export NIX_DB_DIR=$TMPDIR + nix-store --init + # Run the regression tests in `lib'. res="$(nix-instantiate --eval-only --strict pkgs/lib/tests.nix)" if test "$res" != "[ ]"; then |