diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-12-29 18:17:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-12-29 18:22:49 +0100 |
commit | 8ecc3c6c447765b1f7c15b980f985d1826f48659 (patch) | |
tree | 28dbdf5c13151e211fac64f6667cf676ddbda1ca /nix/libutil/hash.hh | |
parent | 681a555b837d766848baacbed5750e9d30314709 (diff) | |
download | patches-8ecc3c6c447765b1f7c15b980f985d1826f48659.tar patches-8ecc3c6c447765b1f7c15b980f985d1826f48659.tar.gz |
daemon: Allow fixed-output derivation builds with TMPDIR set.
Fixes <http://bugs.gnu.org/25242>.
Reported by Leo Famulari <leo@famulari.name>.
The regression was introduced in 94d92c7796a3dd50c27d532315f7d497ac99f08e.
* nix/libstore/build.cc (DerivationGoal::startBuilder): Set 'useChroot'
as a function 'of isBuiltin(drv)'.
(DerivationGoal::runChild): Use 'useChroot' instead of
'useChroot && !isBuiltin(drv)'.
Diffstat (limited to 'nix/libutil/hash.hh')
0 files changed, 0 insertions, 0 deletions