summaryrefslogtreecommitdiff
path: root/nix/libstore/pathlocks.cc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-12-29 18:17:21 +0100
committerLudovic Courtès <ludo@gnu.org>2016-12-29 18:22:49 +0100
commit8ecc3c6c447765b1f7c15b980f985d1826f48659 (patch)
tree28dbdf5c13151e211fac64f6667cf676ddbda1ca /nix/libstore/pathlocks.cc
parent681a555b837d766848baacbed5750e9d30314709 (diff)
downloadpatches-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/libstore/pathlocks.cc')
0 files changed, 0 insertions, 0 deletions