libfetchers: fix double quote in path printed in logger

(cherry picked from commit 314e9fbeda)

# Conflicts:
#	src/libfetchers/path.cc
This commit is contained in:
Jörg Thalheim 2025-03-19 16:04:04 +01:00 committed by Mergify
parent 1130be437b
commit 3826e9c144

View File

@ -128,6 +128,7 @@ struct PathInputScheme : InputScheme
if (!input.parent)
throw Error("cannot fetch input '%s' because it uses a relative path", input.to_string());
<<<<<<< HEAD
auto parent = canonPath(*input.parent);
// the path isn't relative, prefix it
@ -143,6 +144,9 @@ struct PathInputScheme : InputScheme
absPath = path;
Activity act(*logger, lvlTalkative, actUnknown, fmt("copying '%s'", absPath));
=======
Activity act(*logger, lvlTalkative, actUnknown, fmt("copying %s to the store", absPath));
>>>>>>> 314e9fbed (libfetchers: fix double quote in path printed in logger)
// FIXME: check whether access to 'path' is allowed.
auto storePath = store->maybeParseStorePath(absPath);