aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/eval.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-05-16 16:17:04 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-05-16 16:17:04 +0000
commitbddc83a1487e9f3c1bb3ac2279c0238e8e6c3ff3 (patch)
tree1466672b9f0eb9096cc33af950e964bfdf044f4d /src/libexpr/eval.cc
parentca00aa11714921804afb490d0613086f549fb894 (diff)
* New builtin function "isFunction". You're not supposed to use it
;-) * Channels: fix channels that are plain lists of derivations (like strategoxt-unstable) instead of functions (like nixpkgs-unstable). This fixes the error message "error: the left-hand side of the function call is neither a function nor a primop (built-in operation) but a list".
Diffstat (limited to 'src/libexpr/eval.cc')
-rw-r--r--src/libexpr/eval.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/eval.cc b/src/libexpr/eval.cc
index 552b58625..a8a22e2f2 100644
--- a/src/libexpr/eval.cc
+++ b/src/libexpr/eval.cc
@@ -478,7 +478,7 @@ LocalNoInline(Expr evalCall(EvalState & state, Expr fun, Expr arg))
}
else throwTypeError(
- "the left-hand side of the function call is neither a function nor a primop (built-in operation) but %1%",
+ "attempt to call something which is neither a function nor a primop (built-in operation) but %1%",
showType(fun));
}