* Better message.
This commit is contained in:
parent
9bd93f7606
commit
17f4883bfe
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ static Expr primToFile(EvalState & state, const ATermVector & args)
|
|||
|
||||
for (PathSet::iterator i = context.begin(); i != context.end(); ++i) {
|
||||
if (isDerivation(*i))
|
||||
throw EvalError("in `toFile': the file cannot refer to derivation outputs");
|
||||
throw EvalError(format("in `toFile': the file `%1%' cannot refer to derivation outputs") % name);
|
||||
refs.insert(*i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue