1
1
Fork 0
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:
Eelco Dolstra 2025-04-01 18:37:21 +02:00
parent 5b079073c1
commit 1564c8f9d9
2 changed files with 23 additions and 2 deletions

View file

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