'target' points to 'source'

This commit is contained in:
Eelco Dolstra 2022-01-10 16:52:25 +01:00
parent df11e75d0e
commit 19fd6e585d

View file

@ -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));