about summary refs log tree commit diff
path: root/src/libexpr/eval.hh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-03-31T19·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-03-31T19·52+0000
commit979f163615745db74f3a94a71818e66c75baf9ac (patch)
tree6351f54bc055ce988ab3d916d0cd162895518cf4 /src/libexpr/eval.hh
parentd8cd3115d8e1acc9e866c67265668d5268f2c1ec (diff)
* Handle string contexts. `nix-instantiate' can now correctly compute
  the `firefoxWrapper' attribute in Nixpkgs, and it's about 3 times
  faster than the trunk :-)

Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r--src/libexpr/eval.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh
index 7369892fbccd..13ea269fc69d 100644
--- a/src/libexpr/eval.hh
+++ b/src/libexpr/eval.hh
@@ -172,6 +172,7 @@ public:
     void forceList(Value & v);
     void forceFunction(Value & v); // either lambda or primop
     string forceString(Value & v);
+    string forceString(Value & v, PathSet & context);
     string forceStringNoCtx(Value & v);
 
     /* String coercion.  Converts strings, paths and derivations to a