From 4e91d8621f6620f8b15535002309882fd7794a1f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 21 Sep 2006 18:52:05 +0000 Subject: [PATCH] * Fix comment. --- src/libexpr/primops.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc index c04d41bf4..93a699b41 100644 --- a/src/libexpr/primops.cc +++ b/src/libexpr/primops.cc @@ -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%'")