From ffa038f66dc0dfcfaf16c523830490bb606af04c Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 16 Sep 2011 11:30:44 +0000 Subject: [PATCH] Add an sCurrentOutput member to EvalState --- src/libexpr/eval.cc | 1 + src/libexpr/eval.hh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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("")) , 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;