about summary refs log tree commit diff
path: root/src/libexpr/primops.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops.cc')
-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 c04d41bf4d..93a699b417 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%'")