* 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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user