about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-21T18·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-21T18·52+0000
commit4e91d8621f6620f8b15535002309882fd7794a1f (patch)
treee0f22db88b298f654b2bf99f81bd81f374d2a228 /src
parentee5040421ff442ec62db25f35874d9a27f9a646f (diff)
* Fix comment.
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/primops.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index c04d41bf4ddf..93a699b4170b 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%'")