From 2132d9ddeba14ea2ddcbb16fa51ddb16c45c3c6a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 29 Aug 2006 15:29:38 +0000 Subject: * Fix the ~ operator. --- src/libexpr/primops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libexpr/primops.cc') diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index 5496e945e31b..65e993708a34 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -163,7 +163,7 @@ void toString(EvalState & state, Expr e, } } - else throw TypeError(format("%1% is not allowed as a derivation argument") % showType(e)); + else throw TypeError(format("cannot convert %1% to a string") % showType(e)); } -- cgit 1.4.1