diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-31T19·52+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2010-03-31T19·52+0000 |
commit | 979f163615745db74f3a94a71818e66c75baf9ac (patch) | |
tree | 6351f54bc055ce988ab3d916d0cd162895518cf4 /src/libexpr/eval.hh | |
parent | d8cd3115d8e1acc9e866c67265668d5268f2c1ec (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.hh | 1 |
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 |