diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-04-06 15:25:06 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-04-06 15:25:06 +0200 |
commit | a9759407e55fb02c6e306fdd9fcedd821e465024 (patch) | |
tree | 9359ee9478d9d4f4c9bf74bfb4bba745a6a36bbf /src/libexpr/flake | |
parent | 94812cca98fbb157e5f64a15a85a2b852d289feb (diff) |
Origin: Use SourcePath
Diffstat (limited to 'src/libexpr/flake')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index 2b858ee98..4c571fd7d 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -220,7 +220,7 @@ static Flake getFlake( Value vInfo; state.evalFile(CanonPath(flakeFile), vInfo, true); // FIXME: symlink attack - expectType(state, nAttrs, vInfo, state.positions.add({flakeFile}, 1, 1)); + expectType(state, nAttrs, vInfo, state.positions.add({CanonPath(flakeFile)}, 1, 1)); if (auto description = vInfo.attrs->get(state.sDescription)) { expectType(state, nString, *description->value, description->pos); |