Don't overload dumpPath()

This commit is contained in:
Eelco Dolstra 2016-03-22 14:21:45 +01:00
parent 712b616a84
commit bb1034316d
7 changed files with 13 additions and 11 deletions

View file

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