diff options
author | Shea Levy <shea@shealevy.com> | 2011-09-16 11:30:44 +0000 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2011-09-16 11:30:44 +0000 |
commit | ffa038f66dc0dfcfaf16c523830490bb606af04c (patch) | |
tree | 4400e6f1b2bc7574ec217ed447fed9dce408c3e5 | |
parent | f3e410d4bffc109718d8a108258710a543ecfca6 (diff) |
Add an sCurrentOutput member to EvalState
-rw-r--r-- | src/libexpr/eval.cc | 1 | ||||
-rw-r--r-- | src/libexpr/eval.hh | 2 |
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; |