1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

EvalState::resolveLookupPathPath(): Call resolveSymlinks() before pathExists()

Fixes #12339.
This commit is contained in:
Eelco Dolstra 2025-01-24 12:15:07 +01:00
parent 10c8d7988d
commit 00d9e7e1f4
2 changed files with 2 additions and 2 deletions

View file

@ -3114,7 +3114,7 @@ std::optional<SourcePath> EvalState::resolveLookupPathPath(const LookupPath::Pat
}
}
if (path.pathExists())
if (path.resolveSymlinks().pathExists())
return finish(std::move(path));
else {
logWarning({