summaryrefslogtreecommitdiffstats
path: root/pkgs/top-level/make-tarball.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-15 14:37:24 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-05-15 14:37:24 +0000
commit13bcdc5f337466ccdce6b23fa1feca14742c985a (patch)
tree04fa703d906edc95d250e29ad3846b703268d82e /pkgs/top-level/make-tarball.nix
parentc12005ef5667e12196529873d206365cfa845c7c (diff)
* Fix building the tarball in a chroot.
svn path=/nixpkgs/trunk/; revision=34110
Diffstat (limited to 'pkgs/top-level/make-tarball.nix')
-rw-r--r--pkgs/top-level/make-tarball.nix1
1 files changed, 1 insertions, 0 deletions
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'.