diff options
author | regnat <rg@regnat.ovh> | 2021-06-24 15:44:13 +0200 |
---|---|---|
committer | regnat <rg@regnat.ovh> | 2021-06-24 15:45:05 +0200 |
commit | 8b6fba2b63820ea63599d200f79740bb7f85de1e (patch) | |
tree | ab35e7598ea50d342f09d0203be0986c27b1fdc2 /src/libstore | |
parent | 08270af7fec1ca9954274a747e39c0d45bdb963e (diff) |
Eventually delete the CA paths lock files
Mark the lockfiles as having to eventually be deleted so that they don’t
stay laying around in the store at the end of the build
Fix #4936
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/build/local-derivation-goal.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc index ba0aca29c..8320dd1c4 100644 --- a/src/libstore/build/local-derivation-goal.cc +++ b/src/libstore/build/local-derivation-goal.cc @@ -2481,6 +2481,7 @@ void LocalDerivationGoal::registerOutputs() floating CA derivations and hash-mismatching fixed-output derivations. */ PathLocks dynamicOutputLock; + dynamicOutputLock.setDeletion(true); auto optFixedPath = output.path(worker.store, drv->name, outputName); if (!optFixedPath || worker.store.printStorePath(*optFixedPath) != finalDestPath) |