diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-08-24T00·24-0400 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2019-08-24T00·24-0400 |
commit | 5c06a8d3283139140e765b5f10ad7102a6a3e964 (patch) | |
tree | 7ed45de2044eb7bfae44094198b42d94aa4105fb /src | |
parent | 9a0855bbb6546e792848e551e79f8efc40782eeb (diff) |
Reset tmpDirInSandbox for unsandboxed
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/build.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 0f71e7511512..96e9b8edda0a 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2330,6 +2330,7 @@ void DerivationGoal::startBuilder() int res = helper.wait(); if (res != 0 && settings.sandboxFallback) { useChroot = false; + tmpDirInSandbox = tmpDir; goto fallback; } else if (res != 0) throw Error("unable to start build process"); |