diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-21 18:52:05 +0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-21 18:52:05 +0000 |
commit | 4e91d8621f6620f8b15535002309882fd7794a1f (patch) | |
tree | e0f22db88b298f654b2bf99f81bd81f374d2a228 | |
parent | ee5040421ff442ec62db25f35874d9a27f9a646f (diff) |
* Fix comment.
-rw-r--r-- | src/libexpr/primops.cc | 4 |
1 files changed, 1 insertions, 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%'") |