diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2023-04-21 08:14:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 08:14:58 +0200 |
commit | 7474a90db69813d051ab1bef35c7d0ab958d9ccd (patch) | |
tree | 708acdb2945c7a9645135a04a8151686be8ecc2f /src/libexpr/flake/flake.cc | |
parent | ef432b2b1502c73d505d8fdb487db529601fa4ab (diff) | |
parent | 85f0cdc370021299142be9454483403e9bac2602 (diff) |
Merge pull request #7710 from obsidiansystems/context-not-path-set
Use `std::set<StringContextElem>` not `PathSet` for string contexts
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-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 ac396236f..3fb1f3536 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -265,7 +265,7 @@ static Flake getFlake( state.symbols[setting.name], std::string(state.forceStringNoCtx(*setting.value, setting.pos, ""))); else if (setting.value->type() == nPath) { - PathSet emptyContext = {}; + NixStringContext emptyContext = {}; flake.config.settings.emplace( state.symbols[setting.name], state.coerceToString(setting.pos, *setting.value, emptyContext, "", false, true, true) .toOwned()); |