aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/value.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/value.hh')
-rw-r--r--src/libexpr/value.hh6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libexpr/value.hh b/src/libexpr/value.hh
index ee9cb832a..d413060f9 100644
--- a/src/libexpr/value.hh
+++ b/src/libexpr/value.hh
@@ -57,6 +57,8 @@ struct ExprLambda;
struct PrimOp;
class Symbol;
struct Pos;
+class StorePath;
+class Store;
class EvalState;
class XMLWriter;
class JSONPlaceholder;
@@ -64,7 +66,7 @@ class JSONPlaceholder;
typedef int64_t NixInt;
typedef double NixFloat;
-typedef std::pair<Path, std::string> NixStringContextElem;
+typedef std::pair<StorePath, std::string> NixStringContextElem;
typedef std::vector<NixStringContextElem> NixStringContext;
/* External values must descend from ExternalValueBase, so that
@@ -370,7 +372,7 @@ public:
non-trivial. */
bool isTrivial() const;
- NixStringContext getContext();
+ NixStringContext getContext(const Store &);
auto listItems()
{