guix/nix/libstore
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
..
.gitignore
build.cc daemon: Use deterministic $TMPDIR in chroot. 2015-12-09 14:29:41 +01:00
derivations.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
derivations.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
gc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
globals.cc daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
globals.hh daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
local-store.cc daemon: Flush upon '\r' when reading the substituter's stderr. 2015-07-07 01:03:45 +02:00
local-store.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
misc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
misc.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
optimise-store.cc daemon: optimizePath: Detect some .links corruptions. 2015-12-02 19:37:59 +02:00
pathlocks.cc Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
pathlocks.hh
references.cc
references.hh
remote-store.cc daemon: Add 'buildMode' parameter to 'buildPaths' RPC. 2015-12-02 19:37:59 +02:00
remote-store.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
schema.sql
store-api.cc
store-api.hh daemon: Allow builds to be repeated. 2015-12-08 23:58:12 +01:00
worker-protocol.hh daemon: Add 'buildMode' parameter to 'buildPaths' RPC. 2015-12-02 19:37:59 +02:00