mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 13:36:02 +01:00
EvalState::resolveLookupPathPath(): Call resolveSymlinks() before pathExists()
Fixes #12339.
(cherry picked from commit 00d9e7e1f4)
This commit is contained in:
parent
4cfeb8d1bb
commit
90159cb197
2 changed files with 2 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue