forked from lix-project/lix
LocalFSStore::narFromPath(): Handle the diverted store case
This commit is contained in:
parent
3eb6217508
commit
36a51ecab3
|
@ -81,7 +81,7 @@ void LocalFSStore::narFromPath(const Path & path, Sink & sink)
|
|||
{
|
||||
if (!isValidPath(path))
|
||||
throw Error(format("path ‘%s’ is not valid") % path);
|
||||
dumpPath(path, sink);
|
||||
dumpPath(getRealStoreDir() + std::string(path, storeDir.size()), sink);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue