summary refs log tree commit diff
path: root/src
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 /src
parentf3e410d4bffc109718d8a108258710a543ecfca6 (diff)
downloadguix-ffa038f66dc0dfcfaf16c523830490bb606af04c.tar.gz
Add an sCurrentOutput member to EvalState
Diffstat (limited to 'src')
-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 d0bdaf2382..c31ec261e3 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 694d4407b8..3816f36bd6 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;