mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
LocalFSStore::narFromPath(): Handle the diverted store case
This commit is contained in:
parent
3eb6217508
commit
36a51ecab3
1 changed files with 1 additions and 1 deletions
|
@ -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