Don't overload dumpPath()
This commit is contained in:
parent
712b616a84
commit
bb1034316d
7 changed files with 13 additions and 11 deletions
|
|
@ -1418,7 +1418,7 @@ Path LocalStore::addToStore(const string & name, const Path & _srcPath,
|
|||
small files. */
|
||||
StringSink sink;
|
||||
if (recursive)
|
||||
nix::dumpPath(srcPath, sink, filter);
|
||||
dumpPath(srcPath, sink, filter);
|
||||
else
|
||||
sink.s = make_ref<std::string>(readFile(srcPath));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue