mirror of
https://github.com/NixOS/nix.git
synced 2025-11-21 17:59:36 +01:00
Fix missing file error messages from 'import'
This commit is contained in:
parent
5b079073c1
commit
1564c8f9d9
2 changed files with 23 additions and 2 deletions
|
|
@ -23,6 +23,12 @@ struct MountedSourceAccessorImpl : MountedSourceAccessor
|
|||
return accessor->readFile(subpath);
|
||||
}
|
||||
|
||||
Stat lstat(const CanonPath & path) override
|
||||
{
|
||||
auto [accessor, subpath] = resolve(path);
|
||||
return accessor->lstat(subpath);
|
||||
}
|
||||
|
||||
std::optional<Stat> maybeLstat(const CanonPath & path) override
|
||||
{
|
||||
auto [accessor, subpath] = resolve(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue