aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2021-03-10 02:20:32 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-03-11 22:30:10 +0000
commit91adfb8894b4b8183c2948712d56a97bb9d93d9f (patch)
tree4b0cef091af49d7cd3d3c39321b634d846aa7e8d /src/libexpr/eval.hh
parentd5322698a2abbc6d141e1d244e17b0d226a2f18b (diff)
Create some type aliases for string Contexts
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index f1e00bae7..18480f290 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -430,7 +430,7 @@ std::string showType(const Value & v);
/* Decode a context string ‘!<name>!<path>’ into a pair <path,
name>. */
-std::pair<std::string, std::string> decodeContext(std::string_view s);
+NixStringContextElem decodeContext(std::string_view s);
/* If `path' refers to a directory, then append "/default.nix". */
Path resolveExprPath(Path path);