guix-kreyren/nix
Eelco Dolstra cb9601029e 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>
2015-12-09 14:29:41 +01:00
..
boost
guix-register
libstore daemon: Use deterministic $TMPDIR in chroot. 2015-12-09 14:29:41 +01:00
libutil daemon: Fix namespace issue. 2015-12-02 19:37:59 +02:00
nix-daemon daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
scripts
.gitignore
AUTHORS
COPYING