* Fix comment.

This commit is contained in:
Eelco Dolstra 2006-09-21 18:52:05 +00:00
parent ee5040421f
commit 4e91d8621f

View file

@ -368,9 +368,7 @@ static Expr primDerivationStrict(EvalState & state, const ATermVector & args)
if (outputHashRecursive) outputHashAlgo = "r:" + outputHashAlgo;
}
/* Check the derivation name. It shouldn't contain whitespace,
but we are conservative here: we check whether only
alphanumerics and some other characters appear. */
/* Check whether the derivation name is valid. */
checkStoreName(drvName);
if (isDerivation(drvName))
throw EvalError(format("derivation names are not allowed to end in `%1%'")