about summary refs log tree commit diff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-24T21·39+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-24T21·39+0000
commite347033f718e23d1ae6821207124465fedc73db1 (patch)
treebe95b4b29e760568c25f722f855ff569ade52ff7 /src/libexpr/eval.cc
parent0e705391dbe5340154d59106e591671923d107d0 (diff)
* The result of a concatenation with a derivation on the left-hand
  side should be a path, I guess.
* Handle paths that are in the store but not direct children of the
  store directory.
* Ugh, hack to prevent double context wrapping.

Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 3334e4bbde..416d43b33b 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -267,6 +267,7 @@ string coerceToStringWithContext(EvalState & state,
         if (a && evalString(state, a) == "derivation") {
             a = attrs.get(toATerm("outPath"));
             if (!a) throw TypeError("output path missing from derivation");
+            isPath = true;
             context = ATinsert(context, e);
             return evalPath(state, a);
         }