about summary refs log tree commit diff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-09-16T11·30+0000
committerShea Levy <shea@shealevy.com>2011-09-16T11·30+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 d0bdaf23822a..c31ec261e318 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 694d4407b847..3816f36bd6a7 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;