mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-02-16 23:27:17 +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))
|
if (!isValidPath(path))
|
||||||
throw Error(format("path ‘%s’ is not valid") % path);
|
throw Error(format("path ‘%s’ is not valid") % path);
|
||||||
dumpPath(path, sink);
|
dumpPath(getRealStoreDir() + std::string(path, storeDir.size()), sink);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue