about summary refs log tree commit diff
path: root/src/libexpr/expr-to-xml.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-10-03T15·38+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-10-03T15·38+0000
commit5fd44654dbca02f188957279eb25a33a3ecfe96b (patch)
tree12b0cb0d2e3018795f810314402450b91bc6b7ae /src/libexpr/expr-to-xml.hh
parent3837fb233cccc8f65629749f07820afba04952a0 (diff)
* toXML: propagate the context to allow derivations to be used in the
  argument.

Diffstat (limited to 'src/libexpr/expr-to-xml.hh')
-rw-r--r--src/libexpr/expr-to-xml.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libexpr/expr-to-xml.hh b/src/libexpr/expr-to-xml.hh
index 6b95c88f5909..eb628660d937 100644
--- a/src/libexpr/expr-to-xml.hh
+++ b/src/libexpr/expr-to-xml.hh
@@ -5,10 +5,11 @@
 #include <map>
 
 #include "nixexpr.hh"
+#include "aterm.hh"
 
 namespace nix {
 
-void printTermAsXML(Expr e, std::ostream & out);
+void printTermAsXML(Expr e, std::ostream & out, ATermList & context);
     
 }