aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-01-10 16:52:25 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-01-10 16:52:25 +0100
commit19fd6e585d8f4cad3e358361b6f983b0d7d3b8a9 (patch)
treed55a548b1b06f64ac30a3b3585c9b22a25da2b30
parentdf11e75d0e5dd3783339a0e7a5683895d7bc7d61 (diff)
'target' points to 'source'
-rw-r--r--src/libstore/build/local-derivation-goal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/build/local-derivation-goal.cc b/src/libstore/build/local-derivation-goal.cc
index d3434d63e..8dd1965e1 100644
--- a/src/libstore/build/local-derivation-goal.cc
+++ b/src/libstore/build/local-derivation-goal.cc
@@ -1427,7 +1427,7 @@ void LocalDerivationGoal::addDependency(const StorePath & path)
Path source = worker.store.Store::toRealPath(path);
Path target = chrootRootDir + worker.store.printStorePath(path);
- debug("bind-mounting %s -> %s", source, target);
+ debug("bind-mounting %s -> %s", target, source);
if (pathExists(target))
throw Error("store path '%s' already exists in the sandbox", worker.store.printStorePath(path));