aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-06-28 16:12:19 +0200
committerGitHub <noreply@github.com>2021-06-28 16:12:19 +0200
commit6182ae689826554d915b4ed72e07f7978dc1d13c (patch)
treea0e983adcb2a74bdf4ef440c58ae232034417cb6
parentf5320299ddf4389e7f08e65519eb14b389f56bf3 (diff)
parent8b6fba2b63820ea63599d200f79740bb7f85de1e (diff)
Merge pull request #4942 from NixOS/ca/remove-lock-files
Eventually delete the CA paths lock files
-rw-r--r--src/libstore/build/local-derivation-goal.cc1
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)