diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-12-02 14:59:07 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-12-09 14:29:41 +0100 |
commit | cb9601029ea164b86bdf997f7160d494c15d344b (patch) | |
tree | d3ee490acee71bf9199f7f2cd0426faeb2b6c419 /emacs/guix-info.el | |
parent | a8d65643fb21fdf6c46b3d248bda411d970e53ab (diff) | |
download | patches-cb9601029ea164b86bdf997f7160d494c15d344b.tar patches-cb9601029ea164b86bdf997f7160d494c15d344b.tar.gz |
daemon: Use deterministic $TMPDIR in chroot.
Rather than using $<host-TMPDIR>/nix-build-<drvname>-<number>, the
temporary directory is now always /tmp/nix-build-<drvname>-0. This
improves bitwise-exact reproducibility for builds that store $TMPDIR
in their build output. (Of course, those should still be fixed...)
* nix/libstore/build.cc (DerivationGoal)[tmpDirInSandbox]: New field.
(DerivationGoal::startBuilder): Initialize 'useChroot' earlier. Compute
'tmpDirInSandbox', and use it when populating 'dirsInChroot'.
* doc/guix.texi (Build Environment Setup): Document it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'emacs/guix-info.el')
0 files changed, 0 insertions, 0 deletions