aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-09-16 11:30:44 +0000
committerShea Levy <shea@shealevy.com>2011-09-16 11:30:44 +0000
commitffa038f66dc0dfcfaf16c523830490bb606af04c (patch)
tree4400e6f1b2bc7574ec217ed447fed9dce408c3e5
parentf3e410d4bffc109718d8a108258710a543ecfca6 (diff)
Add an sCurrentOutput member to EvalState
-rw-r--r--src/libexpr/eval.cc1
-rw-r--r--src/libexpr/eval.hh2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index d0bdaf238..c31ec261e 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -133,6 +133,7 @@ string showType(const Value & v)
EvalState::EvalState()
: sWith(symbols.create("<with>"))
, sOutPath(symbols.create("outPath"))
+ , sCurrentOutput(symbols.create("currentOutput"))
, sDrvPath(symbols.create("drvPath"))
, sType(symbols.create("type"))
, sMeta(symbols.create("meta"))
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 694d4407b..3816f36bd 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -204,7 +204,7 @@ public:
SymbolTable symbols;
const Symbol sWith, sOutPath, sDrvPath, sType, sMeta, sName,
- sSystem, sOverrides;
+ sSystem, sOverrides, sCurrentOutput;
private:
SrcToStore srcToStore;